Make MinGW compile a windows app instead of a console app. (Suggested by the MinGW docs. Probably got removed by me some time ago when redoing the Makefile.raw)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@513 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
49df018649
commit
eaff16d04d
|
@ -51,7 +51,7 @@ LDFLAGS+=-L$(DEVDIR)/lib
|
|||
ifeq ($(strip $(PLATFORM)),windows)
|
||||
DIRSEP=\\
|
||||
RMF=del /F
|
||||
CFLAGS+=-DWIN32
|
||||
CFLAGS+=-mwindows -DWIN32
|
||||
LDFLAGS+=-lmingw32 -lglu32 -lopengl32 -lopenal32 -ljpeg6b -lpng13
|
||||
else
|
||||
DIRSEP=/
|
||||
|
|
Loading…
Reference in New Issue