fixed it!!!!
This commit is contained in:
10
build
10
build
@@ -1,6 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
LIB_INCLUDE="-lglfw -lGL -lm"
|
||||
gcc -g -g2 -DOS_LINUX=1 -DDJSTDLIB_DEBUG=1 -xc -std=c99 ./src/main.c -o ./target/somaesque $LIB_INCLUDE
|
||||
|
||||
echo [Building target]
|
||||
if [ $DEBUG ]; then
|
||||
time clang -O0 -g -g2 -DOS_LINUX=1 -DDJSTDLIB_DEBUG=1 -xc -std=c99 ./src/main.c -o ./target/somaesque $LIB_INCLUDE
|
||||
else
|
||||
time clang -O2 -DOS_LINUX=1 -xc -std=c99 ./src/main.c -o ./target/somaesque $LIB_INCLUDE
|
||||
fi
|
||||
echo [Target built]
|
||||
./target/somaesque
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user