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/string/generic/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'libc/string/generic') diff --git a/libc/string/generic/Makefile b/libc/string/generic/Makefile index 3f9af72a3..fac678a59 100644 --- a/libc/string/generic/Makefile +++ b/libc/string/generic/Makefile @@ -25,15 +25,14 @@ CSRC= memchr.c memcmp.c memcpy.c memmem.c memmove.c mempcpy.c memrchr.c \ strrchr.c strsep.c strspn.c strstr.c strtok_r.c COBJS=$(patsubst %.c,%.o, $(CSRC)) - OBJS=$(COBJS) -all: $(OBJS) $(LIBC) +OBJ_LIST=../../obj.string.generic -$(LIBC): ar-target +all: $(OBJ_LIST) -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, string/generic/%, $(OBJS)) > $(OBJ_LIST) # $(MOBJ): $(MSRC) # $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o @@ -45,4 +44,3 @@ $(COBJS): %.o : %.c clean: $(RM) *.[oa] *~ core - -- cgit v1.2.3