aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-22 23:03:58 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-22 23:03:58 +0000
commit618c3eec93dc24e3b86b64bdfa99fa6a5e074c3a (patch)
tree9e233a282d902c3159362d93e55386cf4c0bf5c1
parent137c9c9f3fd5b14373b1d8f10594087173d0200b (diff)
moved -DPD to the CFLAGS += section so that CFLAGS can be more easily overridden
svn path=/trunk/externals/template/; revision=14498
-rw-r--r--Makefile4
1 files 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