diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-10 04:58:42 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-01-10 04:58:42 +0000 |
commit | 97492d5628f603856df9a3dd2abd55d33918dc4f (patch) | |
tree | 2f6f8d9db7be57daf1df87a0a89a413487a124ff /externals/grill/flext/buildsys/lnx/gnumake-gcc.inc | |
parent | 53c16e06983f9b03464f41b8c0ed3206382c5538 (diff) |
better templates, some minor changes
build system: added profiler mode, more fixes
svn path=/trunk/; revision=2486
Diffstat (limited to 'externals/grill/flext/buildsys/lnx/gnumake-gcc.inc')
-rw-r--r-- | externals/grill/flext/buildsys/lnx/gnumake-gcc.inc | 12 |
1 files changed, 7 insertions, 5 deletions
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 ############################################## |