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/stdlib/malloc-simple/Makefile | |
parent | dd8d43ce314931a24533715977385d68d1827b4d (diff) |
merge parallel build support
Diffstat (limited to 'libc/stdlib/malloc-simple/Makefile')
-rw-r--r-- | libc/stdlib/malloc-simple/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libc/stdlib/malloc-simple/Makefile b/libc/stdlib/malloc-simple/Makefile index 1da7a672c..161aece1a 100644 --- a/libc/stdlib/malloc-simple/Makefile +++ b/libc/stdlib/malloc-simple/Makefile @@ -27,18 +27,16 @@ MSRC=alloc.c MOBJ=malloc.o realloc.o free.o calloc.o memalign.o OBJS=$(MOBJ) +OBJ_LIST=../../obj.stdlib.malloc-simple -all: $(OBJS) $(LIBC) +all: $(OBJ_LIST) -$(LIBC): ar-target - -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, stdlib/malloc-simple/%, $(OBJS)) > $(OBJ_LIST) $(MOBJ): $(MSRC) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o clean: - rm -f *.[oa] *~ core - + $(RM) *.[oa] *~ core |