From 87b2f9e16397492dd31a9a9c109e9fc8ab69de93 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 6 Jan 2024 12:01:03 +0100 Subject: [PATCH] Made the doc build script automatically grab the correct merged lib files. Also ignode sfw.h and cpp under the doc folder. --- .gitignore | 3 +++ tools/doc/compile_linux.sh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ed17e26..75d136b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,9 @@ obj/ tools/merger/out/ +tools/doc/sfw.h +tools/doc/sfw.cpp + # These are tmeporary: libs/ *.bmp diff --git a/tools/doc/compile_linux.sh b/tools/doc/compile_linux.sh index d31d97a..03290e2 100755 --- a/tools/doc/compile_linux.sh +++ b/tools/doc/compile_linux.sh @@ -1,6 +1,9 @@ +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 +ccache g++ -Wall -g -c main.cpp -o main.o #-static-libgcc -static-libstdc++