(svn r1268) -Fix: some warnings in gfx.c fixed
-Fix: Makefile now correctly works for cygwin/mingw; altough defining only cygwin does not compile the game -Fix: moved SDL information message from severity 0 to 1. Only errors/severe warnings should be level 0
This commit is contained in:
8
Makefile
8
Makefile
@@ -333,15 +333,17 @@ LDFLAGS += -static
|
||||
endif
|
||||
endif
|
||||
|
||||
# If building on Cygwin/MingW don't link with Cygwin libs
|
||||
# If building on MingW don't link with Cygwin libs
|
||||
ifdef WIN32
|
||||
ifdef MINGW
|
||||
ifdef CYGWIN
|
||||
BASECFLAGS += -mwin32
|
||||
LDFLAGS += -mwin32
|
||||
endif
|
||||
ifdef MINGW
|
||||
BASECFLAGS += -mno-cygwin
|
||||
LDFLAGS += -mno-cygwin
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
CFLAGS += $(BASECFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user