aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-03-28 22:00:09 +0100
committerFederico Angelilli <code@fedang.net>2024-03-28 22:00:53 +0100
commitb5ee786a0aece3e0401d08f5d378d3a0e4e8a7c1 (patch)
treeea14c8f7d2f9e43c2988a697bc4b854e8a5bc9dd /Makefile
parent47ae717ef705ea6e06befcc1977a8045a84a66e9 (diff)
Add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5387d1f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+
+SRCS = $(wildcard test/*.c)
+TESTS = $(SRCS:.c=)
+
+all: tests
+
+tests: $(TESTS)
+
+%: %.c
+ $(CC) -I. $< -o $@
+
+clean:
+ rm -rf $(TESTS)