techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/ccproc.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 /ccproc.sh
parent08cb8d6a585dd552b69a488d9db1be123f01467a (diff)
added fun game save file spec 'fgsf_spec.txt' and fixed compile/ccproc build scripts.
Diffstat (limited to 'ccproc.sh')
-rwxr-xr-xccproc.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ccproc.sh b/ccproc.sh
new file mode 100755
index 0000000..05c66dd
--- /dev/null
+++ b/ccproc.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if cproc \
+ -D__FLT_MIN__=1.17549435e-38F \
+ -D__FLT_MAX__=3.40282347e+38F \
+ -D__DBL_MIN__=2.2250738585072014e-308 \
+ -D__DBL_MAX__=1.7976931348623157e+308 \
+ -D__FLT_EPSILON__=1.19209289550781250000e-7F \
+ *.c ext/*.c ext/tinyfiledialogs/tinyfiledialogs.c \
+ -L/usr/local/lib64 \
+ -fno-builtin \
+ -lraylib -lbox3d -lgcc -lm -lpthread -lX11 -lrt -g -o fungame_cproc
+then ./fungame_cproc
+else echo "build failed."
+fi