diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-25 03:17:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-25 03:17:00 +0000 |
commit | 130697527bfd32f3a6a6e4dfcc1e80c0cdfa0b37 (patch) | |
tree | 5725aece2271bb7b95dea27faff912df97db74fe /libc/string/generic/Makefile | |
parent | dd8d43ce314931a24533715977385d68d1827b4d (diff) |
merge parallel build support
Diffstat (limited to 'libc/string/generic/Makefile')
-rw-r--r-- | libc/string/generic/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
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 - |