aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/buildsys/lnx
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-10 04:58:42 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-10 04:58:42 +0000
commit97492d5628f603856df9a3dd2abd55d33918dc4f (patch)
tree2f6f8d9db7be57daf1df87a0a89a413487a124ff /externals/grill/flext/buildsys/lnx
parent53c16e06983f9b03464f41b8c0ed3206382c5538 (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')
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc2
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc2
-rw-r--r--externals/grill/flext/buildsys/lnx/gnumake-gcc.inc12
3 files changed, 9 insertions, 7 deletions
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
index e2c15730..1e2d61d3 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-ext.inc
@@ -31,7 +31,7 @@ $(TARGET):: $(COBJS) $(CPPOBJS)
##############################################
_clean_:
- rm $(COBJS) $(CPPOBJS) $(TARGET)
+ -rm -r $(TARGETPATH)
##############################################
diff --git a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
index ec55d6b8..ae9b4a48 100644
--- a/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
+++ b/externals/grill/flext/buildsys/lnx/gnumake-gcc-flext.inc
@@ -31,7 +31,7 @@ endif
##############################################
_clean_:
- rm $(COBJS) $(CPPOBJS) $(TARGET)
+ -rm -r $(TARGETPATH)
##############################################
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
##############################################