fent que funcione en make

This commit is contained in:
2021-09-01 20:14:23 +02:00
parent 0e88abbe8f
commit 9fc9d0388c
18 changed files with 288 additions and 669 deletions

View File

@@ -1,6 +1,9 @@
TARGET=aee
all:
g++ -I/usr/include/SDL2 *.cpp -w -lSDL2 -lSDL2_mixer -o $(TARGET)
g++ *.cpp -std=c++11 -lSDL2 -lSDL2_mixer -o $(TARGET)
debug:
g++ *.cpp -g -std=c++11 -lSDL2 -lSDL2_mixer -o $(TARGET)
clean:
rm -rf ./$(TARGET)