From aa0508dbbf84bc73b22fc248f1dbaf47c0b6deb3 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 13 Aug 2020 08:51:43 -0400 Subject: move all configuration to config.mk --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5a381f7..dafbcdf 100644 --- a/Makefile +++ b/Makefile @@ -4,10 +4,6 @@ include config.mk -CC=c99 -CFLAGS=-g -I$(INCLUDEDIR) -nostdinc -fno-builtin -LDFLAGS=-L$(LIBDIR) $(LIBS) - TESTOBJS=main.o \ assert.o \ complex.o \ @@ -40,7 +36,7 @@ TESTOBJS=main.o \ wctype.o \ test.o -testlibc: $(TESTOBJS) $(LIBDIR)/libc.a +testlibc: $(TESTOBJS) $(CC) -o $@ $(TESTOBJS) $(LDFLAGS) $(TESTOBJS): test.h -- cgit v1.2.1