]> matita.cs.unibo.it Git - helm.git/commitdiff
control of dependences improved
authorFerruccio Guidi <ferruccio.guidi@unibo.it>
Tue, 7 Jun 2005 10:02:35 +0000 (10:02 +0000)
committerFerruccio Guidi <ferruccio.guidi@unibo.it>
Tue, 7 Jun 2005 10:02:35 +0000 (10:02 +0000)
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