gd-gamesave-cryptor/Makefile

16 lines
310 B
Makefile
Raw Permalink Normal View History

2020-05-04 21:56:19 +02:00
# C++ compiler executable
2020-05-04 17:54:23 +02:00
CXX=g++
2020-05-04 21:56:19 +02:00
# C++ compiler flags
CXXFLAGS=-lz -O2 -static
# Output file extension (for example .exe for Windows)
O_EXT=
2020-05-04 17:54:23 +02:00
2020-05-04 22:22:40 +02:00
gd_crypt$(O_EXT): Main.cpp Base64.hpp GDGameSave.hpp
$(CXX) -o $@ $^ $(CXXFLAGS)
2020-05-04 21:56:19 +02:00
xcomp_linux_win:
make CXX=x86_64-w64-mingw32-g++ O_EXT=.exe
2020-05-04 17:54:23 +02:00
clean:
2020-05-04 22:22:40 +02:00
rm ./gd_crypt