ocaml-makefile
ocaml-makefile copied to clipboard
Can't libinstall when using subprojects
Hello,
At example: https://github.com/mmottl/ocaml-makefile/tree/master/threads When changing the default target to be:
# Default target to use
all: bcl
And invoking: "libinstall", get the following "No rule to make target 'all', needed by 'libinstall":
$ make libinstall
make[1]: Entering directory '/home/threads'
make[2]: Entering directory '/home/threads'
make[2]: *** No rule to make target 'all', needed by 'libinstall'. Stop.
make[2]: Leaving directory '/home/threads'
make[1]: *** [OCamlMakefile:1227: subproj_ex1] Error 2
make[1]: Leaving directory '/home/threads'
make: *** [Makefile:32: libinstall] Error 2
I'm afraid, but I don't really develop OCamlMakefile anymore. You are much better off switching to Dune. But feel free to submit any patches you might need.