Commit: 049fe56c4d7ff130c48de2217192c8f3b253bcd7
Parent: 40e131ee120d724d93637c86bb59fb5853d86b23
Author: Randy Palamar
Date: Mon, 5 Aug 2024 20:38:53 -0600
make sure include path is valid even in debug build
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/build.sh b/build.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-cflags="-march=native -std=c11 -O3 -Wall"
+cflags="-march=native -std=c11 -O3 -Wall -I./external/include"
ldflags="-lraylib -lm"
debug=${DEBUG}
@@ -26,7 +26,6 @@ else
cmake --build external/raylib/build
cmake --install external/raylib/build
fi
- cflags="$cflags -I./external/include"
ldflags="-L./external/lib $ldflags"
fi