summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEmma Doth <emmadoth@disroot.org>2023-05-08 23:26:37 +0200
committerEmma Doth <emmadoth@disroot.org>2023-05-08 23:26:37 +0200
commitc1a7f4c5384613efe17a356719112bcb1234e1a4 (patch)
treea8b8f0435874031927fc60466a9b3ace5bfe8eb1 /Makefile
parente904cd26f08238c893a0f9a07be3284a331fd142 (diff)
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..55e8df9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+WARN = -Wall -Wextra -Wconversion -Wvla
+
+default:
+ $(CC) $(WARN) main.c -o cgol
+
+debug:
+ $(CC) $(WARN) -g3 main.c -o cgol
+
+run: default
+ ./cgol