From b35551ddc948be413d179b798a0350eb2202bba8 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Fri, 5 Dec 2025 09:34:21 +0100 Subject: working --- build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build.sh') 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="" -- cgit v1.2.3