]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/Makefile.in
control of dependences improved
[helm.git] / helm / matita / Makefile.in
index 51c1bed06aac29626eab1eb575166198a27c5bee..8e9f3b9ce906827b8902a8d3c1824556da044d08 100644 (file)
@@ -106,3 +106,15 @@ include .depend
 
 .PHONY: all opt clean distclean depend
 
+$(CMOS): $(LIB_DEPS)
+$(CMOS:%.cmo=%.cmx): $(LIBX_DEPS)
+
+ifeq ($(MAKECMDGOALS),all)
+   $(CMOS:%.cmo=%.cmi): $(LIB_DEPS)
+endif
+ifeq ($(MAKECMDGOALS),)
+   $(CMOS:%.cmo=%.cmi): $(LIB_DEPS)
+endif
+ifeq ($(MAKECMDGOALS),opt)
+   $(CMOS:%.cmo=%.cmi): $(LIBX_DEPS)
+endif