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