sfw/demos/sfwl_doc_merger/compile_linux.sh

12 lines
314 B
Bash
Raw Normal View History

2024-01-21 16:08:55 +01:00
cp -u ../tools/merger/out/sfwl_core/sfwl.h sfwl.h
cp -u .../tools/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
#-static-libgcc -static-libstdc++
ccache g++ -Wall -lpthread -static-libgcc -static-libstdc++ -g sfwl.o main.o -o game