sfw/tools/doc/compile_linux.sh

12 lines
301 B
Bash
Raw Normal View History

2024-01-06 02:58:04 +01:00
2024-01-07 12:16:44 +01:00
cp -u ../merger/out/sfwl_core/sfwl.h sfwl.h
cp -u ../merger/out/sfwl_core/sfwl.cpp sfwl.cpp
ccache g++ -Wall -g -c sfwl.cpp -o sfwl.o
ccache g++ -Wall -g -c main.cpp -o main.o
2024-01-06 02:58:04 +01:00
#-static-libgcc -static-libstdc++
2024-01-07 12:16:44 +01:00
ccache g++ -Wall -lpthread -static-libgcc -static-libstdc++ -g sfwl.o main.o -o game
2024-01-06 02:58:04 +01:00