sfw/demos/build_scripts/full_minimal/compile_windows.sh

10 lines
270 B
Bash
Executable File

g++ -Wall -g -c sfw.cpp -o sfw.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 main.o \
-lgdi32 -lShlwapi -lws2_32 \
-o game