changeset 234:9ec8a707408e

We're more likely to want to trigger this rule by removing the .h than the .c++ file
author Chris Cannam <cannam@all-day-breakfast.com>
date Tue, 13 Jun 2017 09:46:03 +0100
parents 82f86151bc4b
children 87ab11fdcfec
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jun 13 09:45:41 2017 +0100
+++ b/Makefile	Tue Jun 13 09:46:03 2017 +0100
@@ -36,9 +36,9 @@
 vamp-capnp/piper.capnp.o:	vamp-capnp/piper.capnp.c++
 	c++ $(CXXFLAGS) $(INCFLAGS) -c $< -o $@
 
-vamp-capnp/piper.capnp.h:	vamp-capnp/piper.capnp.c++
+vamp-capnp/piper.capnp.c++:	vamp-capnp/piper.capnp.h
 
-vamp-capnp/piper.capnp.c++: $(PIPER_DIR)/capnp/piper.capnp
+vamp-capnp/piper.capnp.h: $(PIPER_DIR)/capnp/piper.capnp
 	capnpc --src-prefix=$(PIPER_DIR)/capnp -oc++:vamp-capnp $<
 
 test:	all