diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-05-13 10:38:03 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-05-13 10:38:03 +0200 |
commit | 9864e348a4771b9d7f91fdcc9e4954f2d51ba201 (patch) | |
tree | 870898b66e5dca6f6cf7a35b94cc94eb858487ea | |
parent | a91123a5b2e6d46b1e0ea3c84ec61fcddec7ada7 (diff) | |
download | compcert-9864e348a4771b9d7f91fdcc9e4954f2d51ba201.tar.gz compcert-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.
-rw-r--r-- | Makefile.extr | 3 |
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; } |