aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2026-02-06 03:57:48 -0600
committericeyrazor <iceyrazor@mailfence.com>2026-02-06 03:57:48 -0600
commit9f87173d4398b045b8d5b76cbb23a9976aafb0b6 (patch)
treec487fc5c89d2d90ef6d24182380f561db3340706 /make
parent536087b7c706085713d0efb90637f16621ef89f6 (diff)
- license and readme
- removed make file inplace of make shell script
Diffstat (limited to 'make')
-rwxr-xr-xmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/make b/make
new file mode 100755
index 0000000..1956b80
--- /dev/null
+++ b/make
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [[ "$1" == "debug" ]]; then
+ clang -O3 -o game-of-life main.c `sdl2-config --cflags --libs` -lm -Wall -fsanitize=address -g
+else
+ clang -O3 -o game-of-life main.c `sdl2-config --cflags --libs` -lm
+fi