# HG changeset patch # User Chris Cannam # Date 1497343563 -3600 # Node ID 9ec8a707408ed0a9dbe82675feb97f537246e3bf # Parent 82f86151bc4b23c5a85273c1bfe0642508fe2017 We're more likely to want to trigger this rule by removing the .h than the .c++ file diff -r 82f86151bc4b -r 9ec8a707408e Makefile --- 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