summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-05 20:23:52 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-05 20:23:52 +0000
commit263f0d0f46ee3018426a042675b462641bfbba19 (patch)
treee5ad030e74d143c8a9971622e6c20ef264d699be /libc
parent92f905833fb3998d1ba8b32fa8e925dd84cba87a (diff)
Fix broken dependancies.
-Erik
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/rpc/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile
index ade5d2422..b3acc3b08 100644
--- a/libc/inet/rpc/Makefile
+++ b/libc/inet/rpc/Makefile
@@ -36,16 +36,19 @@ CSRC = auth_none.c auth_unix.c authunix_prot.c \
svc_tcp.c svc_udp.c xdr.c xdr_array.c xdr_float.c \
xdr_mem.c xdr_rec.c xdr_reference.c xdr_stdio.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
+OBJS=$(COBJS)
-all: $(COBJS) $(LIBC)
+all: ar-target
+
+$(LIBC): $(OBJS)
+
+ar-target: $(LIBC)
+ $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(LIBC): $(COBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(COBJS)
-
clean:
rm -f *.[oa] *~ core