Switch to Dune build system

This commit is contained in:
Fabien Freling 2018-12-26 15:32:23 +01:00
parent 4d1be1578f
commit 4cb229e472
4 changed files with 8 additions and 4 deletions

View file

@ -1,8 +1,5 @@
all: all:
ocamlbuild -use-ocamlfind -I src oboy.byte dune build src/oboy.exe
debug:
ocamlbuild -use-ocamlfind -I src oboy.d.byte
check: check:
ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte -- ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --

3
dune Normal file
View file

@ -0,0 +1,3 @@
(env
(dev
(flags (:standard -warn-error -A))))

1
dune-project Normal file
View file

@ -0,0 +1 @@
(lang dune 1.6)

3
src/dune Normal file
View file

@ -0,0 +1,3 @@
(executable
(name oboy)
(libraries threads))