Move gameloop implementation to gamelopp.cpp

This commit is contained in:
Jan Mrna
2025-09-27 13:57:15 +02:00
parent 82eb2e2539
commit 4419e9bac9
3 changed files with 53 additions and 39 deletions

View File

@@ -2,8 +2,8 @@ all: test pathfinding
# TODO add extra warnings
# TODO linter?
pathfinding: src/main.cpp src/array.hpp src/sprite.cpp
g++ -Wall -ggdb3 -lSDL3 -lSDL3_image -std=c++23 -lGLEW -lGL -o pathfinding src/main.cpp src/sprite.cpp src/entities.cpp
pathfinding:
g++ -Wall -ggdb3 -lSDL3 -lSDL3_image -std=c++23 -lGLEW -lGL -o pathfinding src/main.cpp src/sprite.cpp src/entities.cpp src/gameloop.cpp
test: src/test.cpp src/array.hpp
g++ -Wall -Wextra -Wpedantic -ggdb3 -std=c++23 -lgtest -o test src/test.cpp