X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Ftemplate_makefile.in;fp=helm%2Fsoftware%2Fmatita%2Ftemplate_makefile.in;h=6a66e269ac133b74aca98d09c28bd7d619ef26a0;hb=4e238c92f66aedf21c2d3a33aa5215cdf0a7189f;hp=d24c75b0ff36858fa85c02248929546a73af01bd;hpb=0c2c92ac29d8f9592e5b9d547632ff334155aee1;p=helm.git diff --git a/helm/software/matita/template_makefile.in b/helm/software/matita/template_makefile.in index d24c75b0f..6a66e269a 100644 --- a/helm/software/matita/template_makefile.in +++ b/helm/software/matita/template_makefile.in @@ -19,7 +19,11 @@ clean: rm -f $(TODO) %.moo: - $(MATITAC) $(MATITA_FLAGS) -q -I @ROOT@ $< + if [ -z "$<" ]; then \ + echo "missing dependencies for $@"; \ + else \ + $(MATITAC) $(MATITA_FLAGS) -q -I @ROOT@ $<; \ + fi @DEPFILE@ : $(SRC) $(MATITADEP) $(MATITA_FLAGS) -I '@ROOT@' $^ 1> @DEPFILE@