summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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