summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2023-02-05 23:35:36 -0800
committerKai Stevenson <kai@kaistevenson.com>2023-02-05 23:35:36 -0800
commit5f5f1cd006a3ed2435743db0cc9e5e0952e84cb8 (patch)
tree55fb23977e62c40595b542b6ece4291f0e89ac1a /Makefile
parent84c59d9a4d04be3f123334680f92547f1abf7fae (diff)
v1 done, base game
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5ce9ec3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+CC=gcc
+CFLAGS=-I. -pthread
+
+generate:
+ $(CC) -o snake snake.c vector.c $(CFLAGS)
+
+install:
+ cp snake /usr/local/bin/
+
+clean:
+ rm snake