-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (27 loc) · 708 Bytes
/
Makefile
File metadata and controls
35 lines (27 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: install uninstall reinstall
build: obmaccs
dune build @install
clean:
dune clean
\rm -f *.eps *.scores *.toplot *.CDF *.ccurve src/ob_maccs \
*.{002,003,005,010,020}.txt
edit:
emacs src/*.ml TODO commands.sh &
obmaccs:
cd src; make
install:
dune build @install
dune install
uninstall:
dune uninstall
reinstall: uninstall install
# unit tests
tests:
qtest -o src/unit_tests.ml extract src/ROC.ml
dune build src/unit_tests.exe
_build/default/src/unit_tests.exe
\rm -f _build/default/src/unit_tests.exe
qtest -o src/unit_tests.ml extract src/myList.ml
dune build src/unit_tests.exe
_build/default/src/unit_tests.exe
echo "(* DO NOT EDIT THIS FILE *)" > src/unit_tests.ml