diff Makefile.inc @ 70:ffdeb8808fc1

Let's favour consistent shape in output, and return the output identifier always
author Chris Cannam
date Wed, 14 Jan 2015 17:19:04 +0000
parents 61701d895082
children 141d3bfe1503
line wrap: on
line diff
--- a/Makefile.inc	Wed Jan 14 14:53:15 2015 +0000
+++ b/Makefile.inc	Wed Jan 14 17:19:04 2015 +0000
@@ -8,6 +8,8 @@
 
 HEADERS		:= $(SRC_DIR)/PyPluginObject.h $(SRC_DIR)/PyRealTime.h $(SRC_DIR)/FloatConversion.h $(SRC_DIR)/VectorConversion.h
 SOURCES		:= $(SRC_DIR)/PyPluginObject.cpp $(SRC_DIR)/PyRealTime.cpp $(SRC_DIR)/VectorConversion.cpp $(SRC_DIR)/vampyhost.cpp
+
+PY		:= $(wildcard vamp/*.py)
 TESTS		:= $(wildcard test/test_*.py)
 
 OBJECTS		:= $(SOURCES:.cpp=.o)
@@ -18,7 +20,7 @@
 $(LIBRARY):	$(OBJECTS)
 		$(CXX) -o $@ $^ $(LDFLAGS)
 
-.tests:		$(LIBRARY) $(TESTS)
+.tests:		$(LIBRARY) $(PY) $(TESTS)
 		$(NOSE)
 		@touch $@