aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.extr
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2016-05-13 10:38:03 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2016-05-13 10:38:03 +0200
commit9864e348a4771b9d7f91fdcc9e4954f2d51ba201 (patch)
tree870898b66e5dca6f6cf7a35b94cc94eb858487ea /Makefile.extr
parenta91123a5b2e6d46b1e0ea3c84ec61fcddec7ada7 (diff)
downloadcompcert-kvx-9864e348a4771b9d7f91fdcc9e4954f2d51ba201.tar.gz
compcert-kvx-9864e348a4771b9d7f91fdcc9e4954f2d51ba201.zip
Split dependency generation.
GNU make under windows seems to have a restriction to 8192 characters for commandline arguments. The dependency generation of compcert is too large. Thus we split it into two steps.
Diffstat (limited to 'Makefile.extr')
-rw-r--r--Makefile.extr3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.extr b/Makefile.extr
index fbc119de..30b439ca 100644
--- a/Makefile.extr
+++ b/Makefile.extr
@@ -127,4 +127,5 @@ clean:
depend: $(GENERATED)
@echo "Analyzing OCaml dependencies"
- @$(OCAMLDEP) $(foreach d,$(DIRS),$(wildcard $(d)/*.mli $(d)/*.ml)) $(GENERATED) >.depend.extr || { rm -f .depend.extr; exit 2; }
+ @$(OCAMLDEP) $(foreach d,$(DIRS),$(wildcard $(d)/*.ml)) $(GENERATED) >.depend.extr || { rm -f .depend.extr; exit 2; }
+ @$(OCAMLDEP) $(foreach d,$(DIRS),$(wildcard $(d)/*.mli)) $(GENERATED) >>.depend.extr || { rm -f .depend.extr; exit 2; }