summaryrefslogtreecommitdiff
path: root/src/lem_interp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lem_interp/Makefile')
-rw-r--r--src/lem_interp/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lem_interp/Makefile b/src/lem_interp/Makefile
new file mode 100644
index 00000000..2cf27ad1
--- /dev/null
+++ b/src/lem_interp/Makefile
@@ -0,0 +1,14 @@
+.PHONY: all clean
+
+LEMDIR=$(abspath ../../../lem)
+OCAMLPATH:=$(LEMDIR)/ocaml-lib:$(OCAMLPATH)
+
+all: interp.native
+
+.PHONY: interp.native
+interp.native:
+ OCAMLPATH=$(OCAMLPATH) ocamlbuild -use-ocamlfind -pkg lem interp.native
+
+clean:
+ -ocamlbuild -clean
+ -rm -rf _build