techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/ccproc.sh
diff options
context:
space:
mode:
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