OSDN Git Service

Fix up the makefiles. malloc-simple/Makefile forgot to include realloc.
authorEric Andersen <andersen@codepoet.org>
Thu, 29 Jun 2000 20:47:11 +0000 (20:47 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 29 Jun 2000 20:47:11 +0000 (20:47 -0000)
test/Makefile used a hard coded absolute path (bad, bad, bad).
 -Erik

libc/stdlib/malloc/Makefile
test/Makefile

index eecfd32..ece276b 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)Rules.make
 LIBC=../libc.a
 
 MSRC=alloc.c
-MOBJ=malloc.o free.o calloc.o malloc_dbg.o free_dbg.o calloc_dbg.o
+MOBJ=malloc.o realloc.o free.o calloc.o malloc_dbg.o free_dbg.o calloc_dbg.o
 
 OBJ=$(MOBJ)
 
index 09ba786..916fd7e 100644 (file)
@@ -5,7 +5,7 @@ include $(TOPDIR)Rules.make
 XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
        -I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
-EXTRA_LIBS=/home/andersen/CVS/uC-libc/libc.a
+EXTRA_LIBS=$(TOPDIR)libc.a
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static