Modified makefile

This commit is contained in:
Jan Mrna 2025-09-20 17:35:49 +02:00
parent 84c790ef99
commit d3cc6e960e

View File

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