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
commitc971df4cde3b9dcdc4958f022162df226edc34fc (patch)
tree0f9c309b275df6713fca1e55ac8566b68469fec9
parent5bc40fce0f65c33ab49b78c5d1108843f99c9bbe (diff)
moved -DPD to the CFLAGS += section so that CFLAGS can be more easily overridden
svn path=/trunk/externals/framesync/; revision=14498
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d8843f0..0937138 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ EXTRA_DIST =
#
#------------------------------------------------------------------------------#
-CFLAGS = -DPD -I"$(PD_INCLUDE)" -Wall -W -g
+CFLAGS = -I"$(PD_INCLUDE)" -Wall -W -g
LDFLAGS =
LIBS =
@@ -44,7 +44,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