Compare commits
2 Commits
32a2621074
...
82c5e27152
| Author | SHA1 | Date | |
|---|---|---|---|
| 82c5e27152 | |||
| 6f73af6811 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
*.o
|
*.o
|
||||||
|
*.exe
|
||||||
|
|||||||
9
Makefile
9
Makefile
@@ -1,9 +1,12 @@
|
|||||||
name = paleta
|
name = paleta
|
||||||
executable = $(name).o
|
executable = $(name)
|
||||||
source = *.cpp
|
source = *.cpp
|
||||||
|
|
||||||
|
windows:
|
||||||
|
g++ $(source) -std=c++11 -Wall -Os -lSDL2 -Wl,-subsystem,windows -static-libstdc++ -o $(executable).exe
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
g++ $(source) -std=c++11 -Wall -Os -lSDL2 -o "$(executable)"
|
g++ $(source) -std=c++11 -Wall -Os -lSDL2 -o $(executable).o
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
clang++ $(source) -std=c++11 -Wall -Os -lSDL2 -ffunction-sections -fdata-sections -o $(executable)
|
clang++ $(source) -std=c++11 -Wall -Os -lSDL2 -ffunction-sections -fdata-sections -o $(executable).o
|
||||||
Reference in New Issue
Block a user