aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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