aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2018-02-07 21:16:03 +0100
committertomsmeding <tom.smeding@gmail.com>2018-02-07 21:16:03 +0100
commite1c5955c23f7be7cb7c6ab6fc3d2a0046c1c36a6 (patch)
treec4e38c1058588697dd88cde068c1aec7d7aa610a /Makefile
parentce5b7dba1050fdfbe10ca247db9e4d75148bb665 (diff)
Improvements
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1899fcf..4db1f12 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
+.PHONY: all clean
+
all: tetris
+clean:
+ rm -f tetris
+
tetris: $(wildcard *.c *.h)
gcc -Wall -Wextra -std=c11 -O2 -fwrapv -o $@ $(filter %.c,$^) -Itermio termio/libtermio.a