sfw/compile_linux.sh

7 lines
288 B
Bash
Raw Normal View History

#clang++ main.cpp -Wall -o3 -o ./bin/game -Ilibs/SDL2-linux/include -Llibs/SDL2-linux/lib -lSDL2 -lSDL2main
#g++ main.cpp -Wall -o3 -o ./bin/game -Ilibs/SDL2-linux/include -Llibs/SDL2-linux/lib -lSDL2 -lSDL2main
g++ main.cpp -Wall -o3 -o ./game $(pkg-config --cflags --libs sdl2 glew)