Copy source files from the 2D "game engine"

This commit is contained in:
Jan Mrna
2025-09-20 17:33:02 +02:00
parent 7cd1b06550
commit 6c828dfba7
15 changed files with 1399 additions and 0 deletions

9
cpp/Makefile Normal file
View File

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