[Omake] phony targets from other directories

Jared C. Davis jared at cs.utexas.edu
Fri Mar 21 00:06:53 PDT 2008


Hi,

Here is a very minor, zero-priority feature request.

It would be nice if a .PHONY target could be referred to from an
external directory.

For example, if root/dir1/OMakefile introduces a .PHONY target called
all, then running "omake dir1/all" from root fails with the message
"do not know how to build target," even though running "omake all"
from within root/dir1 succeeds.

An easy workaround is to introduce a non-PHONY target which depends on
"all" and otherwise merely touches a file.  I find myself frequently
using these targets to build certain directories while excluding
others.  (This is much faster for me than building the desired
directories sequentially, because there is a lot of parallelism
between the directories.)   But this seems a bit inelegant since it
means more files floating around and extra stuff in OMakefiles.

I am using OMake 0.9.8.5 (release 3), in case that matters for anything.

Thanks!

Jared

-- 
Jared C. Davis <jared at cs.utexas.edu>
11410 Windermere Meadows
Austin, TX 78759
http://www.cs.utexas.edu/users/jared/


More information about the Omake mailing list