aboutsummaryrefslogtreecommitdiff
path: root/extended
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2009-04-26 22:36:09 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2009-04-26 22:36:09 +0000
commit0eeb1dc9455f8976a988e218bec446fdba5574fe (patch)
treec21eeee24f3c4573a85a003eccb8df2e4fa517e4 /extended
parentf37557d096b3bdf15a962d382df5f03b34516202 (diff)
+ yet more quoted-command-line-macro hell
svn path=/trunk/externals/moocow/; revision=11161
Diffstat (limited to 'extended')
-rw-r--r--extended/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/extended/Makefile b/extended/Makefile
index ac1fc80..b014e02 100644
--- a/extended/Makefile
+++ b/extended/Makefile
@@ -25,16 +25,17 @@ SUBDIRS = \
MOOCOW_DIR ?=$(shell pwd)
MOOCOW_BUILD ?=$(MOOCOW_DIR)/build.moo
MOOCOW_MFLAGS ?=DESTDIR=""
-MOOCOW_BUILD_VERSION ?=2009-04-25.002
+MOOCOW_BUILD_VERSION ?=2009-04-27.001
##-- arguments to be passed to sh ./configure
## + we use "`echo $(CFLAGS)`" to remove ugly quotes from the CFLAGS variable,
## since autoconf doesn't parse these correctly (problem on win32 e.g. -D'O_NONBLOCK=1')
+# CFLAGS="$(CFLAGS)" ##-- ?
# CFLAGS="`echo $(CFLAGS)`" ##-- works
# CFLAGS="$(subst ',,$(CFLAGS))" ##-- works
# CFLAGS="$(shell echo $(CFLAGS))" ##-- works
CONFIGURE_ARGS=\
- CFLAGS="`echo $(CFLAGS)`" \
+ CFLAGS="$(CFLAGS)" \
LDFLAGS="$(LDFLAGS) -L$(pd_src)/bin -L$(pd_src)/obj" \
--with-pd-include="$(pd_src)/src" \
--with-pd-dir="$(MOOCOW_BUILD)" \
@@ -50,8 +51,8 @@ CONFIGURE_ARGS=\
ONFAIL ?= echo "(MOOCOW) Warning: sub-target failed: '$@'"
##-- defaults
-CFLAGS ?= -g -O2 -Wall -Winline -W
-#CFLAGS ?= -g -O2 -Wall -Winline -W -D'UglyQuotedMacro(x)=x'
+#CFLAGS ?= -g -O2 -Wall -Winline -W
+CFLAGS ?= -g -O0 -Wall -Winline -W -D'mooUglyQuotedMacro(x)=x' -DmooSafeMacro=1
pd_src ?= $(CURDIR)/../../../pd