20 lines
408 B
Makefile
20 lines
408 B
Makefile
BUILD:=_build
|
|
|
|
# all:
|
|
# dune build src/core/oboy.exe
|
|
|
|
core:
|
|
dune build src/core/cbindings.exe.o
|
|
ar -rs $(BUILD)/liboboycore.a _build/default/src/core/cbindings.exe.o
|
|
scripts/invalidate_cpp.sh
|
|
|
|
# check:
|
|
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_bit.byte --
|
|
# ocamlbuild -use-ocamlfind -I src -lflag -g test/test_interrupt.byte --
|
|
|
|
clean:
|
|
dune clean
|
|
|
|
bootstrap:
|
|
opam install . --deps-only
|