[Omake] Compiling files in different directories

Aleksey Nogin nogin at metaprl.org
Wed Jun 6 09:24:46 PDT 2007


On 05.06.2007 23:39, Hugo Ferreira wrote:

> I have read (and reread) your reply and must confess that I am still
> shaky on the "which" and "how". Nevertheless it is obvious that I would
> do better to use a single project.
> 
> I am going to generate the project with the dependencies as you
> indicated in the last section of the reply after reading up on "running
> omake from a subdirectory".

Hugo,

This sounds like the way to go. The easiest way of going about creating 
a large project with all these different interdependent pieces is to 
start with an assumption that you want to build everything. Declare a 
phony target, say "all", at the top of the root OMakefile and then 
define a single large project so that "omake all" from the root builds 
everything. Once you have this working, you can concentrate on defining 
other targets and making sure that running "omake ..." from a 
subdirectory does the right thing.

Aleksey


More information about the Omake mailing list