proper handling of dependencies

This commit is contained in:
Pascal Brisset
2007-10-05 10:01:15 +00:00
parent f900cbba74
commit ac70338ba9
+11
View File
@@ -30,3 +30,14 @@ pc_control_panel.cmo pc_aircraft.cmo : pc_common.cmo
clean:
\rm *.cm* gtk_pc.ml gtk_process.ml
#
# Dependencies
#
.depend:
ocamldep -I ../lib/ocaml *.ml* > .depend
ifneq ($(MAKECMDGOALS),clean)
-include .depend
endif