summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 325c326c..de254cef 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,13 +1,19 @@
-.PHONY: all test clean
+.PHONY: all test clean update_lem_lib
all:
- ocamlbuild main.native test/run_tests.native
+ ocamlbuild -classic-display main.native test/run_tests.native
test: all
./run_tests.native
+update_lem_lib:
+ mkdir -p lem_lib
+ ../../lem/lem -ocaml -only_changed_output -outdir lem_lib ../../lem/library-new/*.lem
+ rm -f lem_lib/basic_classes.ml
+
clean:
-ocamlbuild -clean
-rm -rf _build
-rm -rf html-doc
-rm -rf tex-doc
+ -rm -rf lem lib