diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-08-23 22:05:09 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-08-23 22:05:09 +0000 |
commit | d26744af0c8050c936c1c45b25dc3ae228ccbc97 (patch) | |
tree | e310b8039e2c8dc80803a6c2f5624a5eabed87ec /Makefile | |
parent | 5001e8eeb99d81a492ca782dbed8df0063a26ab2 (diff) |
added version macro based on version in meta file
svn path=/trunk/externals/template/; revision=13901
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,8 @@ 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)"' + # where Pd lives PD_PATH = ../../pd # where to install the library |