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/stdlib/malloc-simple/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'libc/stdlib/malloc-simple') 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 -- cgit v1.2.3