Change target in subproject

2014-11-26 Thread Kenneth Adam Miller
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

Re: Avoid to recompile the target

2014-12-08 Thread Kenneth Adam Miller
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

Re: source code: src to find (target/prerequisites/recipes)

2015-07-22 Thread Kenneth Adam Miller
... 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

Re: Looking for nastiest makefile that uses function calls to > make the makefile in memory...

2017-03-18 Thread Kenneth Adam Miller
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