]> git.mxchange.org Git - quix0rs-blobwars.git/commitdiff
Fix LDFLAGS to ensure proper compilation with MinGW.
authorGuus Sliepen <guus@debian.org>
Sat, 25 Dec 2010 15:24:04 +0000 (16:24 +0100)
committerGuus Sliepen <guus@debian.org>
Sat, 25 Dec 2010 15:24:04 +0000 (16:24 +0100)
makefile.windows

index 8e8281bf1b7352b011ffc28338f6990fcae8884b..ed7c7ad9fabb755ef12c2273e5e004f19be9ed53 100755 (executable)
@@ -22,8 +22,8 @@ SDLC=/home/steve/Windows/bin/sdl-config
 
 CXXFLAGS += `$(SDLC) --cflags` -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) -DUSEPAK=$(USEPAK)
 CXXFLAGS += -DPAKNAME=\"$(PAKNAME)\" -DPAKLOCATION=\"\" -DGAMEPLAYMANUAL=\"doc/index.html\" -Wall
-CXXFLAGS += -DLOCALEDIR=\"\" $(CFLAGS)  -DMEDAL_SERVER_HOST=\"$(MEDAL_SERVER_HOST)\" -DMEDAL_SERVER_PORT=$(MEDAL_SERVER_PORT) -pg -Werror
-LIBS = `$(SDLC) --libs` -lintl -lz -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net -pg -lSDLmain
+CXXFLAGS += -DLOCALEDIR=\"\" $(CFLAGS)  -DMEDAL_SERVER_HOST=\"$(MEDAL_SERVER_HOST)\" -DMEDAL_SERVER_PORT=$(MEDAL_SERVER_PORT) -Werror
+LIBS = -lmingw32 `$(SDLC) --libs` -lintl -lz -lSDL_mixer -lSDL_image -lSDL_ttf -lSDL_net -lSDL -lSDLmain -lwinmm -lgdi32 -mwindows
 
 OBJS += CAudio.o
 OBJS += CBoss.o