summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-12-02 16:34:56 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-12-02 16:34:56 +0000
commit98015c17cd52b9c5f275327e5294f7e7e23df7b2 (patch)
treefb2eb931f1ca44428adbd6a1a7c068e50880c0d4 /libc
parentfe488bb77681f8dd64325e3598647264b505bdea (diff)
Cut and paste error.
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/search/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/misc/search/Makefile b/libc/misc/search/Makefile
index 38046a455..77175aca1 100644
--- a/libc/misc/search/Makefile
+++ b/libc/misc/search/Makefile
@@ -38,14 +38,15 @@ MOBJ4=hcreate_r.o hdestroy_r.o hsearch_r.o
CSRC=hsearch.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
-OBJS=$(COBJS)
-all: $(MOBJ1) $(MOBJ2) $(MOBJ3) $(MOBJ4) $(OBJS) $(LIBC)
+OBJS=$(COBJS) $(MOBJ1) $(MOBJ2) $(MOBJ3) $(MOBJ4)
+
+all: $(OBJS) $(LIBC)
$(LIBC): ar-target
-ar-target: $(MOBJ)
- $(AR) $(ARFLAGS) $(LIBC) $(MOBJ)
+ar-target: $(OBJS)
+ $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
$(MOBJ1): $(MSRC1)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o