And the solution

This commit is contained in:
Fabien Freling 2019-05-10 15:10:55 +02:00
parent 18f29579e0
commit c785089647
3 changed files with 6 additions and 4 deletions

View file

@ -4,8 +4,8 @@ OCAMLOPT_FLAGS:=-output-complete-obj
.PHONY: ocaml
ocaml:
dune build ocaml/hello.a
cp _build/default/ocaml/hello.a $(BUILD)/libfoo.a
dune build --verbose ocaml/hello.exe.o
ar -rs $(BUILD)/libfoo.a _build/default/ocaml/hello.exe.o
ocaml-manual:
mkdir -p $(BUILD)