diff options
Diffstat (limited to 'libc/stdlib/malloc/Makefile')
-rw-r--r-- | libc/stdlib/malloc/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile index ce789f8e8..e4a6f3a43 100644 --- a/libc/stdlib/malloc/Makefile +++ b/libc/stdlib/malloc/Makefile @@ -39,12 +39,12 @@ endif COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) -all: $(OBJS) $(LIBC) +OBJ_LIST=../../obj.stdlib.malloc -$(LIBC): ar-target +all: $(OBJ_LIST) -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, stdlib/malloc/%, $(OBJS)) > $(OBJ_LIST) malloc.o free.o realloc.o memalign.o: malloc.h $(COBJS): heap.h |