comparison Makefile.w32 @ 424:e88b2993801c

Fix build for Win32.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 03 Nov 2012 08:21:29 +0200
parents e1b6aa3017c2
children a9d0d35476ae
comparison
equal deleted inserted replaced
423:11b3adb3bdb1 424:e88b2993801c
15 RANLIB=$(MINGW_PREFIX)ranlib 15 RANLIB=$(MINGW_PREFIX)ranlib
16 RM=rm 16 RM=rm
17 17
18 SDL_CFLAGS=`$(MINGW_PATH)/bin/sdl-config --cflags` 18 SDL_CFLAGS=`$(MINGW_PATH)/bin/sdl-config --cflags`
19 SDL_LDFLAGS=`$(MINGW_PATH)/bin/sdl-config --libs` -lSDL -L$(BINPATH) 19 SDL_LDFLAGS=`$(MINGW_PATH)/bin/sdl-config --libs` -lSDL -L$(BINPATH)
20
20 TREMOR_CFLAGS=-I$(MINGW_PATH)/include/tremor 21 TREMOR_CFLAGS=-I$(MINGW_PATH)/include/tremor
21 TREMOR_LDFLAGS=$(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a 22 TREMOR_LDFLAGS=$(MINGW_PATH)/lib/libvorbisidec.a $(MINGW_PATH)/lib/libogg.a
23
24 LIBPNG_CFLAGS=-I$(MINGW_PATH)/include
25 LIBPNG_LDFLAGS=$(MINGW_PATH)/lib/libpng.a
26
27 ZLIB_CFLAGS=
28 ZLIB_LDFLAGS=$(MINGW_PATH)/lib/libz.a
22 29
23 #CFLAGS=-mwindows 30 #CFLAGS=-mwindows
24 LDFLAGS=-lmingw32 -s 31 LDFLAGS=-lmingw32 -s
25 32
26 33