From 263f0d0f46ee3018426a042675b462641bfbba19 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 5 Feb 2001 20:23:52 +0000 Subject: Fix broken dependancies. -Erik --- libc/inet/rpc/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libc/inet/rpc') 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 -- cgit v1.2.3