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
commit9b41fc866c3aabffbcb740246294918ddc4ed6f8 (patch)
treef041e34e6e6637ae426229851d7b5887780f674d
parent8de4ff0e0d412c0c78cf191efe159df8e572dbd3 (diff)
moved -DPD to the CFLAGS += section so that CFLAGS can be more easily overridden
svn path=/trunk/externals/many/; revision=14498
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8240111..505f671 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ SOURCES =
# list all pd objects (i.e. myobject.pd) files here, and their helpfiles will
# be included automatically
-PDOBJECTS = instances.pd instances-template.pd instances~.pd instances-template~.pd polypoly~.pd polypoly-wrap~.pd polypoly-voice~.pd voices~.pd voices-wrap~.pd
+PDOBJECTS = bundle.pd instances.pd instances-template.pd instances~.pd instances-template~.pd polypoly~.pd polypoly-wrap~.pd polypoly-voice~.pd voices~.pd voices-wrap~.pd
# example patches and related files, in the 'examples' subfolder
EXAMPLES = tick.wav ticker-voice.pd ticker.pd tock.wav aw.wav voicetest.pd run-200voicetest.pd
@@ -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