From: Guus Sliepen Date: Sat, 25 Dec 2010 15:24:04 +0000 (+0100) Subject: Fix LDFLAGS to ensure proper compilation with MinGW. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0db616a66f17b8be004882286702ccb164c78ea5;p=quix0rs-blobwars.git Fix LDFLAGS to ensure proper compilation with MinGW. --- diff --git a/makefile.windows b/makefile.windows index 8e8281b..ed7c7ad 100755 --- a/makefile.windows +++ b/makefile.windows @@ -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