sfw/tools/doc/compile_linux.sh

12 lines
266 B
Bash
Raw Normal View History

2024-01-06 02:58:04 +01:00
cp -u ../merger/out/core/sfw.h sfw.h
cp -u ../merger/out/core/sfw.cpp sfw.cpp
2024-01-06 02:58:04 +01:00
ccache g++ -Wall -g -c sfw.cpp -o sfw.o
ccache g++ -Wall -g -c main.cpp -o main.o
2024-01-06 02:58:04 +01:00
#-static-libgcc -static-libstdc++
ccache g++ -Wall -lm -ldl -lpthread -lX11 -g sfw.o main.o -o game