diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-04-19 13:29:56 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-04-19 13:29:56 +0000 |
commit | c44cd878e455d0ff2462233525d728e73fea1e9d (patch) | |
tree | 684acb780380812618218847d862aec20e71af1e /externals/grill/flext/buildsys | |
parent | 362925fd591330f39b96b8732bcd73999da190b6 (diff) |
fixed typo
added profiling flags for OSX
small fixes
svn path=/trunk/; revision=2790
Diffstat (limited to 'externals/grill/flext/buildsys')
-rw-r--r-- | externals/grill/flext/buildsys/gnumake.inc | 4 | ||||
-rw-r--r-- | externals/grill/flext/buildsys/mac/gnumake-gcc.inc | 11 |
2 files changed, 13 insertions, 2 deletions
diff --git a/externals/grill/flext/buildsys/gnumake.inc b/externals/grill/flext/buildsys/gnumake.inc index a52d437f..93203f36 100644 --- a/externals/grill/flext/buildsys/gnumake.inc +++ b/externals/grill/flext/buildsys/gnumake.inc @@ -7,8 +7,12 @@ CFLAGS += $(UFLAGS) ifdef DEBUG
CFLAGS += -D_DEBUG $(DFLAGS)
else
+ifdef PROFILE
+CFLAGS += -DNDEBUG $(OFLAGS)
+else
CFLAGS += -DNDEBUG $(OFLAGS)
endif
+endif
ifdef SHARED
diff --git a/externals/grill/flext/buildsys/mac/gnumake-gcc.inc b/externals/grill/flext/buildsys/mac/gnumake-gcc.inc index 4e7f84af..1c85ac76 100644 --- a/externals/grill/flext/buildsys/mac/gnumake-gcc.inc +++ b/externals/grill/flext/buildsys/mac/gnumake-gcc.inc @@ -18,12 +18,19 @@ FLEXTBIN=$(FLEXTPREFIX)/bin ############################################## -LDFLAGS += -dynamic -Wl,-x -framework ApplicationServices -framework vecLib +LDFLAGS += -dynamic -framework ApplicationServices -framework vecLib ############################################## ifdef DEBUG CFLAGS += -g +LDFLAGS += -g else -LDFLAGS += -Wl,-S +ifdef PROFILE +CFLAGS += -g +LDFLAGS += -g +else +LDFLAGS += -Wl,-x -Wl,-S endif +endif + |