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