diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-08 18:24:23 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-08 18:24:23 +0000 |
commit | 9efafb8bbc7408b04643dcd53825d971577b4d9d (patch) | |
tree | ec42246704de41ea74d5ba259e273e08c180b24e /libc/stdlib/malloc/Makefile | |
parent | e2aa1f4fa9a36d223e271cc24dfad691f6a56d12 (diff) |
New malloc routines.
Diffstat (limited to 'libc/stdlib/malloc/Makefile')
-rw-r--r-- | libc/stdlib/malloc/Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile index d4ecab0b9..ba2567f12 100644 --- a/libc/stdlib/malloc/Makefile +++ b/libc/stdlib/malloc/Makefile @@ -24,17 +24,16 @@ TOPDIR=../ include $(TOPDIR)Rules.make LIBC=$(TOPDIR)libc.a -MSRC=alloc.c -MOBJ=malloc.o realloc.o free.o calloc.o malloc_dbg.o free_dbg.o calloc_dbg.o +CSRC=malloc.c +COBJS=$(patsubst %.c,%.o, $(CSRC)) -all: $(MOBJ) $(LIBC) -$(LIBC): $(MOBJ) - $(AR) $(ARFLAGS) $(LIBC) $(MOBJ) +all: $(COBJS) $(LIBC) -$(MOBJ): $(MSRC) - $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o +$(LIBC): $(COBJS) + $(AR) $(ARFLAGS) $(LIBC) $(COBJS) + +$(COBJS): Makefile clean: rm -f *.[oa] *~ core - |