summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-12-05 09:34:21 +0100
committerPeter Fors <peter.fors@mindkiller.com>2025-12-05 09:34:21 +0100
commitb35551ddc948be413d179b798a0350eb2202bba8 (patch)
tree508499b149c4aa147311c0993c061939f5b90ab6 /build.sh
parentd1e416e8657521c77a929bab0dae819e51928088 (diff)
workingHEADmaster
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index d2cb7b2..057cd6a 100755
--- a/build.sh
+++ b/build.sh
@@ -3,11 +3,13 @@
# Use project-local GCC if available, otherwise system GCC
TOOLCHAIN_GCC="./toolchain/gcc-15.2.0/bin/gcc"
if [ -f "${TOOLCHAIN_GCC}" ]; then
- CC="${TOOLCHAIN_GCC}"
+ CC="${TOOLCHAIN_GCC}"
else
- CC=gcc
+ CC=gcc
fi
+CC=gcc
+
# Set the project name here
PROJECT_NAME="mknes" # Change this for each new project
@@ -38,7 +40,7 @@ INCLUDE_PATHS="-Ibase -I../mkfw "
# Linux-specific includes and libraries
LINUX_INCLUDE=" "
-LINUX_LIBS="-lXi -lX11 -lGL -lm -ldl -pthread -larchive -lSDL2"
+LINUX_LIBS="-lXi -lX11 -lGL -lm -ldl -pthread -larchive "
# Windows-specific includes and libraries
WINDOWS_INCLUDE=""