Minor cleanup.
[neverball] / Makefile.mingw
1 #
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, SDL_image and SDL_mixer DLLs in the makefile directory to compile
8 # maps.  This is a bug which may be corrected soon.
9 #
10 # Mehdi.
11
12 include Makefile
13
14 OGL_LIBS := -lm -lopengl32 -lglu32
15
16 MAPC_TARG := mapc.exe
17 MAPC_EXEC := wine mapc.exe
18 BALL_TARG := neverball.exe
19 PUTT_TARG := neverputt.exe
20
21 LIBS := $(X11_PATH) -lSDL_mixer $(SDL_LIBS) -lSDL_ttf -lSDL_image \
22         $(FT2_LIBS) $(OGL_LIBS) -lintl -lpng -lz -ljpeg