This is somewhat of a crosspost, so I suppose I'll go ahead and link this,
but I'm having trouble figuring out how to get make to produce the right
command when I'm using ocamlmakefile
http://stackoverflow.com/questions/27156419/how-to-use-ocamlmakefile-to-generate-a-library-consumed-by-subproject
If you specify a target that isn't considered satisfied by make after it
executes the command, the next time it runs it will not see the new files,
look for something that will never exist and then rebuild it every time.
Think about this:
all: foo
foo: source.c
gcc source.c
The problem here is
... reading the actual makefile itself?
Did you know that you can use remake -x to get a trace of what make is
trying to build? You can also do a dry run to see what all make would do
with make -n.
On Wed, Jul 22, 2015 at 5:23 AM, Pierre Lindenbaum <
pierre.lindenb...@univ-nantes.fr> wrote:
> Hi
The makefile use that is present in the ocaml project ctypes is pretty
nasty, maybe it has what you're looking for. Definitely there are an bunch
of macros and variable re-evaluations.
On Sat, Mar 18, 2017 at 1:05 PM, Pierre LINDENBAUM <
pierre.lindenb...@univ-nantes.fr> wrote:
> A divide+conquer