summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-06-29 20:47:11 +0000
committerEric Andersen <andersen@codepoet.org>2000-06-29 20:47:11 +0000
commit775622914fa0a2814c705d25b1a3929002c5c785 (patch)
tree9815f353e0fbab1bf9309a4053b7a4df97dc9ffc
parent7186f9a670f0342266e6ce601fdbb404647d8988 (diff)
Fix up the makefiles. malloc-simple/Makefile forgot to include realloc.
test/Makefile used a hard coded absolute path (bad, bad, bad). -Erik
-rw-r--r--libc/stdlib/malloc/Makefile2
-rw-r--r--test/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/malloc/Makefile b/libc/stdlib/malloc/Makefile
index eecfd3203..ece276ba3 100644
--- a/libc/stdlib/malloc/Makefile
+++ b/libc/stdlib/malloc/Makefile
@@ -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)
diff --git a/test/Makefile b/test/Makefile
index 09ba7868e..916fd7e16 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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