Move sprite implementation to sprite.cpp

This commit is contained in:
Jan Mrna
2025-09-27 13:18:01 +02:00
parent 1aebe47acf
commit f9b76687b3
5 changed files with 74 additions and 55 deletions

View File

@@ -2,8 +2,8 @@ all: test pathfinding
# TODO add extra warnings
# TODO linter?
pathfinding: src/main.cpp src/array.hpp
g++ -Wall -ggdb3 -lSDL3 -lSDL3_image -std=c++23 -lGLEW -lGL -o pathfinding src/main.cpp
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
test: src/test.cpp src/array.hpp
g++ -Wall -Wextra -Wpedantic -ggdb3 -std=c++23 -lgtest -o test src/test.cpp