Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions proc/linux/compile_linux_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ flags=(

# Include directories
inc=(
-I ../third_party/include/gunslinger/ # Gunslinger includes
-I ../include/ # SandSim includes
-I ../third_party/include/
)

# Source files
Expand All @@ -22,18 +22,9 @@ src=(
../source/render_passes/*.c
)

lib_dirs=(
-L ../third_party/libs/linux/
)

libs=(
-lgunslinger
)

# Build
gcc -O3 ${inc[*]} ${src[*]} ${flags[*]} ${lib_dirs[*]} ${libs[*]} -lm -o SandSim
gcc -O3 ${inc[*]} ${src[*]} ${flags[*]} -lm -o SandSim

cd ..