mirror of
https://github.com/Relintai/sfw.git
synced 2024-12-20 21:06:49 +01:00
8 lines
469 B
Bash
Executable File
8 lines
469 B
Bash
Executable File
|
|
|
|
#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 shader.cpp material.cpp mesh.cpp mesh_instance.cpp mesh_utils.cpp texture.cpp camera.cpp application.cpp scene.cpp game_scene.cpp object_2d.cpp tile_map.cpp sprite.cpp \
|
|
-g -Wall -o3 -o ./bin/game $(pkg-config --cflags --libs sdl2 glew) |