sfw/demos/render_test_app/compile_windows.sh
2024-01-21 16:10:30 +01:00

14 lines
499 B
Bash
Executable File

cp -u ../tools/merger/out/full/sfw.h sfw.h
cp -u ../tools/merger/out/full/sfw.cpp sfw.cpp
cp -u ../tools/merger/out/full/sfw_3rd.m sfw_3rd.m
ccache g++ -Wall -g -c sfw.cpp -o sfw.o
ccache g++ -Wall -g -c game_scene.cpp -o game_scene.o
ccache g++ -Wall -g -c main.cpp -o main.o
# You might need to add -lpthread and/or -latomic depending on your compiler version
ccache g++ -Wall -g sfw.o game_scene.o main.o \
-lgdi32 -lShlwapi -lws2_32 \
-o game