summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 08:51:43 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 08:51:43 -0400
commitaa0508dbbf84bc73b22fc248f1dbaf47c0b6deb3 (patch)
tree3fae92ad2f1516e41fa4fbde0c3a31cc5cf8c384
parent0358353af5b2619b5c42970d48831dad27886370 (diff)
move all configuration to config.mk
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
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