sfw/demos/build_scripts/full/compile_windows.sh

11 lines
330 B
Bash
Raw Normal View History

2024-01-21 16:09:14 +01:00
g++ -Wall -g -c sfw.cpp -o sfw.o
g++ -Wall -g -c game_scene.cpp -o game_scene.o
g++ -Wall -g -c main.cpp -o main.o
# You might need to add -lpthread and/or -latomic depending on your compiler version
g++ -Wall -g sfw.o game_scene.o main.o \
-lgdi32 -lShlwapi -lws2_32 \
-o game