diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-11-22 23:03:58 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-11-22 23:03:58 +0000 |
commit | 618c3eec93dc24e3b86b64bdfa99fa6a5e074c3a (patch) | |
tree | 9e233a282d902c3159362d93e55386cf4c0bf5c1 | |
parent | 137c9c9f3fd5b14373b1d8f10594087173d0200b (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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |