summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ad673b4..156ef2a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,12 +2,12 @@
include config.mk
-CFLAGS=-I$(INCLUDEDIR) -nostdinc -fno-builtin
+CFLAGS=-g -I$(INCLUDEDIR) -nostdinc -fno-builtin
LDFLAGS=-L$(LIBDIR) $(LIBS)
TESTOBJS=main.o test.o assert.o ctype.o locale.o
-testlibc: $(TESTOBJS)
+testlibc: $(TESTOBJS) $(LIBDIR)/libc.a
$(CC) -o $@ $(TESTOBJS) $(LDFLAGS)
assert.o: assert.c test.h