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/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libc/inet/Makefile') diff --git a/libc/inet/Makefile b/libc/inet/Makefile index 5ca42ddf2..e7018db7c 100644 --- a/libc/inet/Makefile +++ b/libc/inet/Makefile @@ -58,13 +58,12 @@ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(MOBJ) $(MOBJ2) $(MOBJ3) $(COBJS) +OBJ_LIST=../obj.inet -all: $(OBJS) $(LIBC) +all: $(OBJ_LIST) subdirs -$(LIBC): ar-target subdirs - -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, inet/%, $(OBJS)) > $(OBJ_LIST) $(MOBJ): $(MSRC) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o @@ -95,4 +94,3 @@ $(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy $(MAKE) -C $(patsubst _dirclean_%, %, $@) clean .PHONY: dummy - -- cgit v1.2.3