From 97492d5628f603856df9a3dd2abd55d33918dc4f Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Mon, 10 Jan 2005 04:58:42 +0000 Subject: better templates, some minor changes build system: added profiler mode, more fixes svn path=/trunk/; revision=2486 --- externals/grill/flext/buildsys/lnx/gnumake-gcc.inc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'externals/grill/flext/buildsys/lnx/gnumake-gcc.inc') diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc index 70a4601e..9927fb1a 100644 --- a/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc +++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc.inc @@ -7,18 +7,20 @@ TARGET=$(TARGETPATH)/$(OUTNAME).$(EXT) ############################################## CFLAGS += -pthread -LDFLAGS += -pthread -shared +LDFLAGS += -pthread -shared -Wl,-x ############################################## -CFLAGS += $(UFLAGS) - ifdef DEBUG -CFLAGS += -g -D_DEBUG +CFLAGS += -g +else +ifdef PROFILE +CFLAGS += -g -pg +LDFLAGS += -pg else -CFLAGS += $(OFLAGS) -DNDEBUG LDFLAGS += -Wl,-S endif +endif ############################################## -- cgit v1.2.1