From 9bb40ae6398fff3d4bcc332dd04c9f2fd6f8a0af Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 28 Apr 2005 17:24:39 +0000 Subject: [PATCH] Reorganized makefiles a tad --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4041 --- sourcemm/Makefile | 12 ++++++------ sourcemm/sample_mm/Makefile | 12 ++++++------ sourcemm/stub_mm/Makefile | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/sourcemm/Makefile b/sourcemm/Makefile index c57ebad..87a088a 100644 --- a/sourcemm/Makefile +++ b/sourcemm/Makefile @@ -1,14 +1,16 @@ #(C)2004-2005 SourceMM Development Team # Makefile written by David "BAILOPAN" Anderson -OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe -DEBUG_FLAGS = -g -ggdb3 HL2SDK = ../../hl2sdk -CPP = g++ SMM_ROOT = .. 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 \ 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 \ -I$(HL2PUB)/vstdlib -I$(HL2SDK)/tier1 -I$(SMM_ROOT) -I$(SMM_ROOT)/sourcehook -BINARY = sourcemm_i486.so - ifeq "$(DEBUG)" "true" BIN_DIR = Debug CFLAGS = $(DEBUG_FLAGS) diff --git a/sourcemm/sample_mm/Makefile b/sourcemm/sample_mm/Makefile index 68b1f94..74bf47b 100644 --- a/sourcemm/sample_mm/Makefile +++ b/sourcemm/sample_mm/Makefile @@ -1,14 +1,16 @@ #(C)2004-2005 SourceMM Development Team # Makefile written by David "BAILOPAN" Anderson -OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe -DEBUG_FLAGS = -g -ggdb3 HL2SDK = ../../../hl2sdk -CPP = g++ SMM_ROOT = ../../ 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 @@ -19,8 +21,6 @@ HL2PUB = $(HL2SDK)/public 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 -BINARY = sample_mm_i486.so - ifeq "$(DEBUG)" "true" BIN_DIR = Debug CFLAGS = $(DEBUG_FLAGS) diff --git a/sourcemm/stub_mm/Makefile b/sourcemm/stub_mm/Makefile index e3f5b4a..1c907d9 100644 --- a/sourcemm/stub_mm/Makefile +++ b/sourcemm/stub_mm/Makefile @@ -1,14 +1,16 @@ #(C)2004-2005 SourceMM Development Team # Makefile written by David "BAILOPAN" Anderson -OPT_FLAGS = -O3 -fno-rtti -funroll-loops -s -pipe -DEBUG_FLAGS = -g -ggdb3 HL2SDK = ../../../hl2sdk -CPP = g++ SMM_ROOT = ../../ 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 @@ -19,8 +21,6 @@ HL2PUB = $(HL2SDK)/public 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 -BINARY = stub_mm_i486.so - ifeq "$(DEBUG)" "true" BIN_DIR = Debug CFLAGS = $(DEBUG_FLAGS)