And the solution
This commit is contained in:
parent
18f29579e0
commit
c785089647
3 changed files with 6 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue