gd-gamesave-cryptor/Makefile
2020-05-04 21:56:19 +02:00

16 lines
309 B
Makefile

# C++ compiler executable
CXX=g++
# C++ compiler flags
CXXFLAGS=-lz -O2 -static
# Output file extension (for example .exe for Windows)
O_EXT=
gd_crypt: Main.cpp Base64.hpp GDGameSave.hpp
$(CXX) -o $@$(O_EXT) $^ $(CXXFLAGS)
xcomp_linux_win:
make CXX=x86_64-w64-mingw32-g++ O_EXT=.exe
clean:
rm ./gd_decr