diff options
| author | Maxime Dénès | 2017-07-26 14:47:40 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-07-26 14:47:40 +0200 |
| commit | a960c4db9ae93a6445f9db620f96f62b397ba8b5 (patch) | |
| tree | c8857eb4007122038c432121fd331c69bc243821 /Makefile.build | |
| parent | 777751427cbe02ac8a0384d1173f9ef3cce0c8fd (diff) | |
| parent | ae325798c95bd43126e72ce71a7e76e4bee69d3e (diff) | |
Merge PR #905: [api] Remove type equalities from API.
Diffstat (limited to 'Makefile.build')
| -rw-r--r-- | Makefile.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.build b/Makefile.build index 7703df08fc..e3316df913 100644 --- a/Makefile.build +++ b/Makefile.build @@ -564,6 +564,12 @@ kernel/kernel.cma: kernel/kernel.mllib $(SHOW)'OCAMLC -a -o $@' $(HIDE)$(OCAMLC) $(MLINCLUDES) $(BYTEFLAGS) $(VMBYTEFLAGS) -a -o $@ $(filter-out %.mllib, $^) +# Specific rule for API/API.cmi +# Make sure that API/API.mli cannot leak types from the Coq codebase. +API/API.cmi : API/API.mli + $(SHOW)'OCAMLC $<' + $(HIDE)$(OCAMLC) -I lib -I $(MYCAMLP4LIB) -c $< + %.cma: %.mllib $(SHOW)'OCAMLC -a -o $@' $(HIDE)$(OCAMLC) $(MLINCLUDES) $(BYTEFLAGS) -a -o $@ $(filter-out %.mllib, $^) |
