2019-05-11 15:56:42 +02:00
|
|
|
BUILD:=_build
|
|
|
|
|
|
|
|
# all:
|
|
|
|
# dune build src/core/oboy.exe
|
2018-12-28 17:20:48 +01:00
|
|
|
|
|
|
|
core:
|
2019-05-12 11:17:17 +02:00
|
|
|
dune build src/core/cbindings.exe.o
|
|
|
|
ar -rs $(BUILD)/liboboycore.a _build/default/src/core/cbindings.exe.o
|
2019-07-12 14:06:55 +02:00
|
|
|
scripts/invalidate_cpp.sh
|
2015-05-08 14:47:12 +02:00
|
|
|
|
2019-05-11 15:56:42 +02:00
|
|
|
# check:
|
|
|
|
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
|
|
|
|
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_interrupt.byte --
|
2015-08-10 01:35:47 +02:00
|
|
|
|
2015-02-23 16:51:45 +01:00
|
|
|
clean:
|
2019-05-11 18:14:18 +02:00
|
|
|
dune clean
|
|
|
|
|
|
|
|
bootstrap:
|
|
|
|
opam install . --deps-only
|