<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
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