diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-04 21:51:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-04 21:51:42 +0000 |
commit | 1965c122639d751be81882b3793e3e48da3d2a32 (patch) | |
tree | 6b4e76af214713e3cf5e0a936fc225796af8909e /libc/stdlib/malloc/Makefile | |
parent | df1d8b1a4074579139786d2838ae7072587bbee7 (diff) |
Sanity fix.
Diffstat (limited to 'libc/stdlib/malloc/Makefile')
-rw-r--r-- | libc/stdlib/malloc/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile index b3aca377b..34c1b0538 100644 --- a/libc/stdlib/malloc/Makefile +++ b/libc/stdlib/malloc/Makefile @@ -5,20 +5,18 @@ TOPDIR=../ include $(TOPDIR)Rules.make -LIBC=../libc.a +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 -CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS) +all: $(LIBC)($(MOBJ)) -all: $(LIBC) +$(LIBC): $(MOBJ) -$(LIBC): $(LIBC)($(MOBJ)) - -$(LIBC)($(MOBJ)): $(MSRC) +$(MOBJ): $(MSRC) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o - $(AR) $(ARFLAGS) $@ $*.o + $(AR) $(ARFLAGS) $(LIBC) $*.o clean: rm -f *.o libc.a |