mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Makefile lines for building with libvpx from Macports on OSX
git-svn-id: https://svn.eduke32.com/eduke32@2047 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
58fc90f77d
commit
2603acd340
1 changed files with 11 additions and 4 deletions
|
@ -57,6 +57,17 @@ EBACKTRACEDLL_TARGET=
|
|||
include $(EROOT)/Makefile.shared
|
||||
|
||||
|
||||
ifneq (0,$(USE_LIBVPX))
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
LIBS+= -LWindows/lib
|
||||
OURCFLAGS+= -IWindows/include
|
||||
endif
|
||||
ifeq ($(PLATFORM),DARWIN)
|
||||
# vpx headers and lib from 'port install libvpx'
|
||||
LIBS+= -L/opt/local/lib
|
||||
OURCFLAGS+= -I/opt/local/include
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
OBJ=obj_win
|
||||
|
@ -65,10 +76,6 @@ ifeq ($(PLATFORM),WINDOWS)
|
|||
ifeq (0,$(RELEASE))
|
||||
EBACKTRACEDLL_TARGET=$(EBACKTRACEDLL)
|
||||
endif
|
||||
ifneq (0,$(USE_LIBVPX))
|
||||
LIBS+= -LWindows/lib
|
||||
OURCFLAGS+= -IWindows/include
|
||||
endif
|
||||
else
|
||||
ifeq ($(PLATFORM),LINUX)
|
||||
LIBS+= -ldl -pthread
|
||||
|
|
Loading…
Reference in a new issue