From 130697527bfd32f3a6a6e4dfcc1e80c0cdfa0b37 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 25 Jan 2005 03:17:00 +0000 Subject: merge parallel build support --- libc/inet/rpc/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libc/inet/rpc/Makefile') diff --git a/libc/inet/rpc/Makefile b/libc/inet/rpc/Makefile index 5b8975cbf..352e9a28b 100644 --- a/libc/inet/rpc/Makefile +++ b/libc/inet/rpc/Makefile @@ -50,12 +50,12 @@ endif COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) -all: ar-target +OBJ_LIST=../../obj.inet.rpc -$(LIBC): $(OBJS) +all: $(OBJ_LIST) -ar-target: $(LIBC) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, inet/rpc/%, $(OBJS)) > $(OBJ_LIST) $(COBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ @@ -63,4 +63,3 @@ $(COBJS): %.o : %.c clean: $(RM) *.[oa] *~ core - -- cgit v1.2.3