1
0

actualizado Makefile

This commit is contained in:
2024-07-24 12:35:04 +02:00
parent 82c5e27152
commit 0334a7e04e

View File

@@ -3,10 +3,10 @@ executable = $(name)
source = *.cpp source = *.cpp
windows: windows:
g++ $(source) -std=c++11 -Wall -Os -lSDL2 -Wl,-subsystem,windows -static-libstdc++ -o $(executable).exe g++ $(source) -std=c++11 -Wall -lmingw32 -lSDL2main -lSDL2 -mwindows -o $(executable).exe
linux: linux:
g++ $(source) -std=c++11 -Wall -Os -lSDL2 -o $(executable).o g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable).o
macos: macos:
clang++ $(source) -std=c++11 -Wall -Os -lSDL2 -ffunction-sections -fdata-sections -o $(executable).o clang++ $(source) -std=c++11 -Wall -lSDL2 -ffunction-sections -fdata-sections -o $(executable).o