aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Smeding <hallo@tomsmeding.nl>2018-02-07 13:19:00 +0100
committerTom Smeding <hallo@tomsmeding.nl>2018-02-07 13:19:00 +0100
commit93a5f1b89f48308bb4287a8d39ecde88e4549613 (patch)
treecafcd96282d1d2c341a88633987eb7247a683cc0 /Makefile
Initial
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1899fcf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+all: tetris
+
+tetris: $(wildcard *.c *.h)
+ gcc -Wall -Wextra -std=c11 -O2 -fwrapv -o $@ $(filter %.c,$^) -Itermio termio/libtermio.a