sfw/tools/doc/compile_linux.sh

12 lines
266 B
Bash
Executable File

cp -u ../merger/out/core/sfw.h sfw.h
cp -u ../merger/out/core/sfw.cpp sfw.cpp
ccache g++ -Wall -g -c sfw.cpp -o sfw.o
ccache g++ -Wall -g -c main.cpp -o main.o
#-static-libgcc -static-libstdc++
ccache g++ -Wall -lm -ldl -lpthread -lX11 -g sfw.o main.o -o game