1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-19 08:52:34 +01:00

Updated Makefiles (NPOTB).

This commit is contained in:
Nicholas Hastings 2012-10-27 11:48:06 -04:00
parent b518d1e372
commit bb906b94c5
3 changed files with 19 additions and 3 deletions

View File

@ -68,7 +68,7 @@ ifeq "$(ENGINE)" "orangeboxvalve"
INCLUDE += -I$(HL2SDK)/public/game/server
BINARY = metamod.2.ep2v.so
LIB_PREFIX = lib
LIB_SUFFIX = .so
LIB_SUFFIX = _srv.so
override ENGSET = true
endif
ifeq "$(ENGINE)" "left4dead"

View File

@ -100,8 +100,16 @@ ifneq (,$(filter original orangebox,$(ENGINE)))
LIB_SUFFIX = _i486.$(LIB_EXT)
else
LIB_PREFIX = lib
ifeq "$(ENGINE)" "orangeboxvalve"
ifneq "$(OS)" "Darwin"
LIB_SUFFIX = _srv.$(LIB_EXT)
else
LIB_SUFFIX = .$(LIB_EXT)
endif
else
LIB_SUFFIX = .$(LIB_EXT)
endif
endif
CFLAGS += -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 \
-DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 \

View File

@ -100,8 +100,16 @@ ifneq (,$(filter original orangebox,$(ENGINE)))
LIB_SUFFIX = _i486.$(LIB_EXT)
else
LIB_PREFIX = lib
ifeq "$(ENGINE)" "orangeboxvalve"
ifneq "$(OS)" "Darwin"
LIB_SUFFIX = _srv.$(LIB_EXT)
else
LIB_SUFFIX = .$(LIB_EXT)
endif
else
LIB_SUFFIX = .$(LIB_EXT)
endif
endif
CFLAGS += -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 \
-DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 \