Browse Source

Fix up the makefiles. malloc-simple/Makefile forgot to include realloc.
test/Makefile used a hard coded absolute path (bad, bad, bad).
-Erik

Eric Andersen 24 years ago
parent
commit
775622914f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libc/stdlib/malloc/Makefile
  2. 1 1
      test/Makefile

+ 1 - 1
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)
 

+ 1 - 1
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