aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f254b0eaf..850060911c 100644
--- a/Makefile
+++ b/Makefile
@@ -140,5 +140,8 @@ cleanconfig::
depend:
$(OCAMLDEP) $(DEPFLAGS) */*.mli */*.ml > .depend
+ for f in */*.g4; do \
+ $(CAMLP4EXTEND) $(DEPFLAGS) pr_depend.cmo -impl $$f >> .depend; \
+ done
include .depend