blob: 683a084b416da9a3f0e629652e56a516c04b3b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
iraylib="thirdparty/raylib_desktop/include"
include_opts="-I $iraylib"
lraylib="-L thirdparty/raylib_desktop/lib -lraylib"
lib_opts="$lraylib -lGL -lm -lpthread -ldl -lrt -lX11"
src_dir="src"
src_files="$src_dir/game.cpp"
build_dir="build/desktop"
build_path="$build_dir/game.out"
clang++ -g -O0 $include_opts $src_files $lib_opts -o $build_path
|