Actualizado Makefile
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,5 +1,11 @@
|
|||||||
source := source/*.cpp
|
source := source/*.cpp
|
||||||
executable_name := pelota
|
executable_name := demo_pelotas1
|
||||||
|
|
||||||
windows:
|
windows:
|
||||||
g++ $(source) -lmingw32 -lws2_32 -lSDL2main -lSDL2 -lSDL2_image -o $(executable_name).exe
|
g++ $(source) -std=c++11 -Wall -lmingw32 -lws2_32 -lSDL2main -lSDL2 -o $(executable_name).exe
|
||||||
|
|
||||||
|
linux:
|
||||||
|
g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable_name)
|
||||||
|
|
||||||
|
macos:
|
||||||
|
g++ $(source) -std=c++11 -Wall -lSDL2 -o $(executable_name)
|
||||||
Reference in New Issue
Block a user