Actualizado Makefile

This commit is contained in:
2022-10-06 07:16:58 +02:00
parent 2576d62002
commit b861f33867
2 changed files with 6 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
executable = coffee_crisis
windows:
mkdir bin
g++ -std=c++11 -Wall -O2 source/*.cpp -lmingw32 -lSDL2main -lSDL2 -o bin/coffee_crisis.exe
macos:
mkdir -p bin
g++ -std=c++11 -Wall -O2 source/*.cpp -o bin/$(executable)_macos -lSDL2