actualizado Makefile
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||||
Reference in New Issue
Block a user