mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Reorganized makefiles a tad
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4041
This commit is contained in:
parent
ee8a24229c
commit
9bb40ae639
@ -1,14 +1,16 @@
|
|||||||
#(C)2004-2005 SourceMM Development Team
|
#(C)2004-2005 SourceMM Development Team
|
||||||
# Makefile written by David "BAILOPAN" Anderson
|
# Makefile written by David "BAILOPAN" Anderson
|
||||||
|
|
||||||
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
|
|
||||||
DEBUG_FLAGS = -g -ggdb3
|
|
||||||
HL2SDK = ../../hl2sdk
|
HL2SDK = ../../hl2sdk
|
||||||
CPP = g++
|
|
||||||
SMM_ROOT = ..
|
SMM_ROOT = ..
|
||||||
SRCDS = ~/srcds
|
SRCDS = ~/srcds
|
||||||
|
|
||||||
### NOTHING TO EDIT BELOW ###
|
### EDIT BELOW FOR OTHER PROJECTS ###
|
||||||
|
|
||||||
|
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
|
||||||
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
|
CPP = g++
|
||||||
|
BINARY = sourcemm_i486.so
|
||||||
|
|
||||||
OBJECTS = oslink.cpp sourcehook.cpp util.cpp convar.cpp concommands.cpp \
|
OBJECTS = oslink.cpp sourcehook.cpp util.cpp convar.cpp concommands.cpp \
|
||||||
CSmmAPI.cpp sourcemm.cpp CPlugin.cpp
|
CSmmAPI.cpp sourcemm.cpp CPlugin.cpp
|
||||||
@ -20,8 +22,6 @@ HL2PUB = $(HL2SDK)/public
|
|||||||
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
|
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
|
||||||
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook
|
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook
|
||||||
|
|
||||||
BINARY = sourcemm_i486.so
|
|
||||||
|
|
||||||
ifeq "$(DEBUG)" "true"
|
ifeq "$(DEBUG)" "true"
|
||||||
BIN_DIR = Debug
|
BIN_DIR = Debug
|
||||||
CFLAGS = $(DEBUG_FLAGS)
|
CFLAGS = $(DEBUG_FLAGS)
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#(C)2004-2005 SourceMM Development Team
|
#(C)2004-2005 SourceMM Development Team
|
||||||
# Makefile written by David "BAILOPAN" Anderson
|
# Makefile written by David "BAILOPAN" Anderson
|
||||||
|
|
||||||
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
|
|
||||||
DEBUG_FLAGS = -g -ggdb3
|
|
||||||
HL2SDK = ../../../hl2sdk
|
HL2SDK = ../../../hl2sdk
|
||||||
CPP = g++
|
|
||||||
SMM_ROOT = ../../
|
SMM_ROOT = ../../
|
||||||
SRCDS = ~/srcds
|
SRCDS = ~/srcds
|
||||||
|
|
||||||
### NOTHING TO EDIT BELOW ###
|
### EDIT BELOW FOR OTHER PROJECTS ###
|
||||||
|
|
||||||
|
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
|
||||||
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
|
CPP = g++
|
||||||
|
BINARY = sample_mm_i486.so
|
||||||
|
|
||||||
OBJECTS = SamplePlugin.cpp
|
OBJECTS = SamplePlugin.cpp
|
||||||
|
|
||||||
@ -19,8 +21,6 @@ HL2PUB = $(HL2SDK)/public
|
|||||||
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
|
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
|
||||||
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook -I$(SMM_ROOT)/sourcemm
|
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook -I$(SMM_ROOT)/sourcemm
|
||||||
|
|
||||||
BINARY = sample_mm_i486.so
|
|
||||||
|
|
||||||
ifeq "$(DEBUG)" "true"
|
ifeq "$(DEBUG)" "true"
|
||||||
BIN_DIR = Debug
|
BIN_DIR = Debug
|
||||||
CFLAGS = $(DEBUG_FLAGS)
|
CFLAGS = $(DEBUG_FLAGS)
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
#(C)2004-2005 SourceMM Development Team
|
#(C)2004-2005 SourceMM Development Team
|
||||||
# Makefile written by David "BAILOPAN" Anderson
|
# Makefile written by David "BAILOPAN" Anderson
|
||||||
|
|
||||||
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
|
|
||||||
DEBUG_FLAGS = -g -ggdb3
|
|
||||||
HL2SDK = ../../../hl2sdk
|
HL2SDK = ../../../hl2sdk
|
||||||
CPP = g++
|
|
||||||
SMM_ROOT = ../../
|
SMM_ROOT = ../../
|
||||||
SRCDS = ~/srcds
|
SRCDS = ~/srcds
|
||||||
|
|
||||||
### NOTHING TO EDIT BELOW ###
|
### EDIT BELOW FOR OTHER PROJECTS ###
|
||||||
|
|
||||||
|
OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe
|
||||||
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
|
CPP = g++
|
||||||
|
BINARY = stub_mm_i486.so
|
||||||
|
|
||||||
OBJECTS = stub_mm.cpp
|
OBJECTS = stub_mm.cpp
|
||||||
|
|
||||||
@ -19,8 +21,6 @@ HL2PUB = $(HL2SDK)/public
|
|||||||
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
|
INCLUDE = -I. -I$(HL2PUB) -I$(HL2PUB)/dlls -I$(HL2PUB)/engine -I$(HL2PUB)tier0 -I$(HL2PUB)/tier1 \
|
||||||
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook -I$(SMM_ROOT)/sourcemm
|
-I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook -I$(SMM_ROOT)/sourcemm
|
||||||
|
|
||||||
BINARY = stub_mm_i486.so
|
|
||||||
|
|
||||||
ifeq "$(DEBUG)" "true"
|
ifeq "$(DEBUG)" "true"
|
||||||
BIN_DIR = Debug
|
BIN_DIR = Debug
|
||||||
CFLAGS = $(DEBUG_FLAGS)
|
CFLAGS = $(DEBUG_FLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user