techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/compile.sh
diff options
context:
space:
mode:
authortech kaczynski <tk@techkaczynski.dev>2026-09-22 23:05:52 +1000
committertech kaczynski <tk@techkaczynski.dev>2026-09-22 23:05:52 +1000
commitea8db55dc48a374063f10ac1c3c1615fb538943c (patch)
treeffc1adc2cec90f4f9a1bc1fa518eaac986c31a9f /compile.sh
parent08cb8d6a585dd552b69a488d9db1be123f01467a (diff)
added fun game save file spec 'fgsf_spec.txt' and fixed compile/ccproc build scripts.
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/compile.sh b/compile.sh
new file mode 100755
index 0000000..c98170a
--- /dev/null
+++ b/compile.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if cc *.c ext/*.c ext/tinyfiledialogs/tinyfiledialogs.c \
+ -lraylib -lbox3d -lm -lpthread -lX11 -lrt \
+ -g3 -O0 \
+ -o fungame
+then ./fungame
+else echo "build failed."
+fi