summaryrefslogtreecommitdiff
path: root/experimental
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2013-09-17 14:28:31 +0000
committerAlain Frisch <alain@frisch.fr>2013-09-17 14:28:31 +0000
commitc8d20ade025f53a8c7d82f98a7ab9a9657d3b979 (patch)
treea9cf86c354e0829e5429c1937ca2e448363affc6 /experimental
parent40117f7480db46728543a5eb3903681e8cf75e31 (diff)
downloadocaml-c8d20ade025f53a8c7d82f98a7ab9a9657d3b979.tar.gz
Do not track unused type declarations created by 'include'.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'experimental')
-rw-r--r--experimental/frisch/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/experimental/frisch/Makefile b/experimental/frisch/Makefile
index 90d1a2f1f1..8e16a76ff1 100644
--- a/experimental/frisch/Makefile
+++ b/experimental/frisch/Makefile
@@ -7,6 +7,12 @@ TOPLVL=$(ROOT)/compilerlibs/ocamltoplevel.cma
clean:
rm -f *.exe *.cm* *~
+## Detecting unused exported values
+
+.PHONY: unused_exported_values
+unused_exported_values:
+ $(OCAMLC) -o unused_exported_values.exe $(COMMON) $(ROOT)/tools/tast_iter.cmo unused_exported_values.ml
+
## Conditional compilation based on environment variables