1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00
hyperrogue/Makefile.mgw

17 lines
615 B
Makefile
Raw Normal View History

2016-08-26 09:58:03 +00:00
all: hyper.exe
# for simplicity we use NOPNG here
# you can also include savepng.c and remove -DNOPNG
2015-08-08 13:57:52 +00:00
hyper.exe: hyper.cpp graph.cpp hyperpoint.cpp geometry.cpp cell.cpp heptagon.cpp game.cpp polygons.cpp classes.cpp hyper.res language-data.cpp
2016-08-26 09:58:03 +00:00
g++ -mwindows hyper.cpp hyper.res -o hyper.exe -lSDL -lSDL_mixer -lopengl32 SDL_ttf.dll SDL_gfx.dll -O3 -DNOPNG
2015-08-08 13:57:52 +00:00
hyper.res: hyper.rc hr-icon.ico
windres hyper.rc -O coff -o hyper.res
langen.exe: langen.cpp language-cz.cpp language-pl.cpp language-tr.cpp language-ru.cpp
g++ langen.cpp -o langen.exe
language-data.cpp: langen.exe
./langen.exe > language-data.cpp