From 618c3eec93dc24e3b86b64bdfa99fa6a5e074c3a Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 22 Nov 2010 23:03:58 +0000 Subject: moved -DPD to the CFLAGS += section so that CFLAGS can be more easily overridden svn path=/trunk/externals/template/; revision=14498 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0d941d3..85c6d23 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ EXTRA_DIST = #------------------------------------------------------------------------------# # -I"$(PD_INCLUDE)/pd" supports the header location for 0.43 -CFLAGS = -DPD -I"$(PD_INCLUDE)/pd" -Wall -W -g +CFLAGS = -I"$(PD_INCLUDE)/pd" -Wall -W -g LDFLAGS = LIBS = @@ -45,7 +45,7 @@ LIBS = # get library version from meta file LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd) -CFLAGS += -DVERSION='"$(LIBRARY_VERSION)"' +CFLAGS += -DPD -DVERSION='"$(LIBRARY_VERSION)"' PD_INCLUDE = $(PD_PATH)/include # where to install the library, overridden below depending on platform -- cgit v1.2.1