forked from tsoding/parcoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (18 loc) · 811 Bytes
/
Makefile
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
.PHONY: all
all: ini.native ini.byte parcoomTest.native parcoomTest.byte
ini.native: src/parcoom.ml examples/ini.ml
ocamlfind ocamlopt -I src/ -I examples/ -o ini.native src/parcoom.ml examples/ini.ml
ini.byte: src/parcoom.ml examples/ini.ml
ocamlfind ocamlc -I src/ -I examples/ -o ini.byte src/parcoom.ml examples/ini.ml
parcoomTest.native: src/parcoom.ml tests/parcoomTest.ml
ocamlfind ocamlopt -I src/ -I tests/ -o parcoomTest.native src/parcoom.ml tests/parcoomTest.ml
parcoomTest.byte: src/parcoom.ml tests/parcoomTest.ml
ocamlfind ocamlc -I src/ -I tests/ -o parcoomTest.byte src/parcoom.ml tests/parcoomTest.ml
.PHONY: test
test: test.native test.byte
.PHONY: test.native
test.native: parcoomTest.native
./parcoomTest.native
.PHONY: test.byte
test.byte: parcoomTest.byte
./parcoomTest.byte