From d973b4b8eaaa5e7f1d10f9f02069c6d7bde25dcc Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Sun, 3 Oct 2021 21:31:59 +0100 Subject: Add testing code and fix a few bugs --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ebfaa61..0e38739 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ CC=tcc -BIN=test +CFLAGS=-I. -test: test.o +test: test.o cudl.o + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +test.o: cudl.h -- cgit v1.2.3