diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-02-27 21:23:35 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-02-27 21:23:35 -0500 |
commit | 5ed24cf76c4031005372fe231265368863b37f8d (patch) | |
tree | 15c100343b3d54870b879f569643737512d54ae5 /Makefile | |
parent | 91fa7cfb7df46bf12d54391e2e25c0816748070d (diff) |
include debugging info, rebuild when libc.a changes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |