summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Frisch <alain@frisch.fr>2013-04-18 15:46:49 +0000
committerAlain Frisch <alain@frisch.fr>2013-04-18 15:46:49 +0000
commit4de999bd876958517157d22283003352b91525b4 (patch)
tree5a8dda2675d89d7d1c37145eef9aa546c7a2bae1
parent958730ec78904ccaa290554b5761a6062af5acc2 (diff)
Doc.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--experimental/frisch/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/experimental/frisch/Makefile b/experimental/frisch/Makefile
index 2cb87fa93..9bfa9b87b 100644
--- a/experimental/frisch/Makefile
+++ b/experimental/frisch/Makefile
@@ -4,6 +4,10 @@ COMMON=$(ROOT)/compilerlibs/ocamlcommon.cma
BYTECMP=$(ROOT)/compilerlibs/ocamlbytecomp.cma
TOPLVL=$(ROOT)/compilerlibs/ocamltoplevel.cma
+clean:
+ rm -f *.exe *.cm* *~
+
+
## Conditional compilation based on environment variables
.PHONY: ifdef
@@ -12,16 +16,15 @@ ifdef:
$(OCAMLC) -o test_ifdef.exe -ppx ./ifdef.exe -dsource test_ifdef.ml
./test_ifdef.exe
+## A proposal for replacing js_of_ocaml Camlp4 syntax extension with
+## a -ppx filter
+
.PHONY: js_syntax
js_syntax:
$(OCAMLC) -o js_syntax.exe -w +A-4 $(COMMON) js_syntax.ml
$(OCAMLC) -o test_ifdef.exe -i -ppx ./js_syntax.exe test_js.ml
-clean:
- rm -f *.exe *.cm* *~
-
-
## A "toy" ocamldoc clone based on .cmti files
.PHONY: minidoc