mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Revised MinGW Makefile logic for OpenMPT
This commit is contained in:
parent
7f18433059
commit
08812b1501
2 changed files with 12 additions and 20 deletions
26
src/Makefile
26
src/Makefile
|
@ -184,6 +184,16 @@ ifdef DJGPPDOS
|
|||
include djgppdos/Makefile.cfg
|
||||
endif
|
||||
|
||||
ifdef MINGW
|
||||
ifndef NOOPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
endif
|
||||
else
|
||||
ifdef OPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef MINGW
|
||||
include win32/Makefile.cfg
|
||||
endif #ifdef MINGW
|
||||
|
@ -199,22 +209,6 @@ HAVE_LIBGME=1
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef MINGW
|
||||
ifndef NOOPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
endif
|
||||
else
|
||||
ifdef MINGW64
|
||||
ifndef NOOPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
endif
|
||||
else
|
||||
ifdef OPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef SOLARIS
|
||||
UNIXCOMMON=1
|
||||
endif
|
||||
|
|
|
@ -11,8 +11,7 @@ ifdef MINGW64
|
|||
LIBGME_CFLAGS=-I../libs/gme/include
|
||||
LIBGME_LDFLAGS=-L../libs/gme/win64 -lgme
|
||||
|
||||
ifndef NOOPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
ifdef HAVE_OPENMPT
|
||||
LIBOPENMPT_CFLAGS?=-I../libs/libopenmpt/inc
|
||||
LIBOPENMPT_LDFLAGS?=-L../libs/libopenmpt/lib/x86_64 -llibopenmpt
|
||||
endif
|
||||
|
@ -24,8 +23,7 @@ else
|
|||
LIBGME_CFLAGS=-I../libs/gme/include
|
||||
LIBGME_LDFLAGS=-L../libs/gme/win32 -lgme
|
||||
|
||||
ifndef NOOPENMPT
|
||||
HAVE_OPENMPT=1
|
||||
ifdef HAVE_OPENMPT
|
||||
LIBOPENMPT_CFLAGS?=-I../libs/libopenmpt/inc
|
||||
LIBOPENMPT_LDFLAGS?=-L../libs/libopenmpt/lib/x86 -llibopenmpt
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue