Switch to Dune build system
This commit is contained in:
parent
4d1be1578f
commit
4cb229e472
4 changed files with 8 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -1,8 +1,5 @@
|
|||
all:
|
||||
ocamlbuild -use-ocamlfind -I src oboy.byte
|
||||
|
||||
debug:
|
||||
ocamlbuild -use-ocamlfind -I src oboy.d.byte
|
||||
dune build src/oboy.exe
|
||||
|
||||
check:
|
||||
ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
|
||||
|
|
3
dune
Normal file
3
dune
Normal file
|
@ -0,0 +1,3 @@
|
|||
(env
|
||||
(dev
|
||||
(flags (:standard -warn-error -A))))
|
1
dune-project
Normal file
1
dune-project
Normal file
|
@ -0,0 +1 @@
|
|||
(lang dune 1.6)
|
3
src/dune
Normal file
3
src/dune
Normal file
|
@ -0,0 +1,3 @@
|
|||
(executable
|
||||
(name oboy)
|
||||
(libraries threads))
|
Loading…
Add table
Add a link
Reference in a new issue