2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2024-12-28 15:45:37 +03:00
metamod-r/metamod/Config.mak
2016-07-04 12:07:29 +06:00

35 lines
1004 B
Makefile

MODNAME = metamod
#__METAMOD_BUILD__ for our special eiface.h
EXTRA_CFLAGS += -D__METAMOD_BUILD__
#-DMETA_PERFMON
SRCFILES = api_hook.cpp api_info.cpp commands_meta.cpp conf_meta.cpp \
dllapi.cpp engine_api.cpp engineinfo.cpp game_support.cpp \
game_autodetect.cpp h_export.cpp linkgame.cpp linkplug.cpp \
log_meta.cpp meta_eiface.cpp metamod.cpp mlist.cpp mplayer.cpp \
mplugin.cpp mqueue.cpp mreg.cpp mutil.cpp osdep.cpp \
osdep_p.cpp reg_support.cpp sdk_util.cpp studioapi.cpp \
support_meta.cpp thread_logparse.cpp vdate.cpp
INFOFILES = info_name.h vers_meta.h
RESFILE = res_meta.rc
ifeq "$(OS)" "linux"
SRCFILES+=osdep_linkent_linux.cpp osdep_detect_gamedll_linux.cpp
EXTRA_LINK+=
else
SRCFILES+=osdep_linkent_win32.cpp osdep_detect_gamedll_win32.cpp
EXTRA_LINK+=-Xlinker --script -Xlinker i386pe.merge
endif
ifeq "$(OPT)" "opt"
EXTRA_CFLAGS += -D__INTERNALS_USE_REGPARAMS__
endif
ifeq "$(OPT)" "opt-fast"
EXTRA_CFLAGS += -D__INTERNALS_USE_REGPARAMS__
endif
#STLFILES = mreg.cpp