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 21:56:19 +02:00
|
|
|
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
|
2020-05-04 17:54:23 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm ./gd_decr
|