actualizado Makefile
This commit is contained in:
6
Makefile
6
Makefile
@@ -3,10 +3,10 @@ executable = $(name)
|
||||
source = *.cpp
|
||||
|
||||
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:
|
||||
g++ $(source) -std=c++11 -Wall -Os -lSDL2 -o $(executable).o
|
||||
g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable).o
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user