From bb906b94c582fe8bba9fd87fc35c64a20b37781c Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 27 Oct 2012 11:48:06 -0400 Subject: [PATCH] Updated Makefiles (NPOTB). --- core/Makefile | 2 +- sample_mm/Makefile | 10 +++++++++- stub_mm/Makefile | 10 +++++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/core/Makefile b/core/Makefile index 0b296ed..92ab6da 100644 --- a/core/Makefile +++ b/core/Makefile @@ -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" diff --git a/sample_mm/Makefile b/sample_mm/Makefile index f6fb45f..9b81e0d 100644 --- a/sample_mm/Makefile +++ b/sample_mm/Makefile @@ -100,7 +100,15 @@ ifneq (,$(filter original orangebox,$(ENGINE))) LIB_SUFFIX = _i486.$(LIB_EXT) else LIB_PREFIX = lib - LIB_SUFFIX = .$(LIB_EXT) + 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 \ diff --git a/stub_mm/Makefile b/stub_mm/Makefile index 661249e..9d38cee 100644 --- a/stub_mm/Makefile +++ b/stub_mm/Makefile @@ -100,7 +100,15 @@ ifneq (,$(filter original orangebox,$(ENGINE))) LIB_SUFFIX = _i486.$(LIB_EXT) else LIB_PREFIX = lib - LIB_SUFFIX = .$(LIB_EXT) + 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 \