2 # A simple makefile to compile Neverball, Neverputt and mapc Windows binaries,
3 # with mingw32. You must have wine installed to compile maps. You need to use
4 # a script which defines the variables of your Linux mingw32 cross-compilation
5 # environment (PATH, PREFIX, TARGET, CC, CXX, ...) to run this makefile. This
6 # scripts is usually named "cross-make.sh". Currently you need to have SDL,
7 # SDL_ttf and SDL_image DLLs in the makefile directory to compile maps.
13 OGL_LIBS := -lm -lopengl32 -lglu32
16 MAPC_EXEC := wine mapc.exe
17 BALL_TARG := neverball.exe
18 PUTT_TARG := neverputt.exe
20 LIBS := $(X11_PATH) -lSDL_mixer $(SDL_LIBS) -lSDL_ttf -lSDL_image \
21 $(FT2_LIBS) $(OGL_LIBS) -lintl -lpng -lz -ljpeg