From f015c42b12c95b1545e53e0199e94962a9a767c2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 18 Jan 2024 12:08:13 +0100 Subject: [PATCH] Fixed the simple linux compile script. --- compile_linux.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compile_linux.sh b/compile_linux.sh index 636e39b..cdebb02 100755 --- a/compile_linux.sh +++ b/compile_linux.sh @@ -95,8 +95,8 @@ ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_objects/sprite.cpp -o sfw/r ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_objects/tile_map.cpp -o sfw/render_objects/tile_map.o ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/render_objects/text_2d.cpp -o sfw/render_objects/text_2d.o -ccache g++ -Wall -D_REENTRANT -g -Isfw -c game_scene.cpp -o game_scene.o -ccache g++ -Wall -D_REENTRANT -g -Isfw -c main.cpp -o main.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/game_scene.cpp -o sfw/game_scene.o +ccache g++ -Wall -D_REENTRANT -g -Isfw -c sfw/main.cpp -o sfw/main.o ccache g++ -Wall -lm -ldl -lpthread -lX11 -D_REENTRANT -g sfw/core/aabb.o sfw/core/basis.o sfw/core/color.o \ @@ -130,7 +130,7 @@ ccache g++ -Wall -lm -ldl -lpthread -lX11 -D_REENTRANT -g sfw/core/aabb.o sfw/c sfw/render_objects/sprite.o sfw/render_objects/tile_map.o \ sfw/render_objects/camera_2d.o sfw/render_objects/mesh_instance_2d.o \ sfw/render_objects/text_2d.o \ - game_scene.o main.o \ + sfw/game_scene.o sfw/main.o \ -o game #export args="-lm -ldl -lpthread -lX11 -w -Iengine/ $args" \ No newline at end of file