aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTianhao Wang <wth@riseup.net>2023-11-02 01:14:25 +0100
committerTianhao Wang <wth@riseup.net>2023-11-02 01:14:25 +0100
commitf3ba79298a26169d6563c42bbd437b903623c599 (patch)
treee5b1e91b0a01ac7e99efd1f6424fa7c44af8b3d4 /Makefile
init
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7a077b5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+targets = test_0
+targets += test_1
+targets += test_2
+targets += test_3
+targets += test_4
+targets += test_5
+targets += test_6
+targets += test_7
+targets += test_8
+targets += test_9
+targets += test_10
+targets += test_11
+targets += test_12
+targets += test_13
+targets += test_14
+targets += test_15
+targets += test_16
+
+all: $(targets)
+
+test_%: testn.c
+ cc -static -DOFF=$* -O0 -o $@ $^
+
+clean:
+ rm -f test_*