From 0eeb1dc9455f8976a988e218bec446fdba5574fe Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sun, 26 Apr 2009 22:36:09 +0000 Subject: + yet more quoted-command-line-macro hell svn path=/trunk/externals/moocow/; revision=11161 --- extended/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'extended/Makefile') 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 -- cgit v1.2.1