Oops, sorry...wrong mailing list O.o
--rob

On Feb 12, 2008 11:44 AM, Rob Desbois <[EMAIL PROTECTED]> wrote:
> I want to have a portion of my makefile similar to this:
>    tests/%: tests/%.cpp tests/runner.cpp
>    tests/test-x: x.cpp x.h
>
> I have several targets in tests/ which all have similar core
> dependencies, hence the pattern rule.
> Some of them have additional dependencies, hence the second rule.
>
> The pattern rule is overriding the implicit rule for building a file
> from %.cpp source - but I still want to use the implicit rule's
> command(s), just with the additional dependencies.
> Is this possible, or is there some sort of workaround that can avoid
> killing the implicit rule?
>
> TIA,
> --rob
>



-- 
Rob Desbois
Eml: [EMAIL PROTECTED]
Tel: 07946 705987
"There's a whale there's a whale there's a whale fish" he cried, and
the whale was in full view.
...Then ooh welcome. Ahhh. Ooh mug welcome.


Reply via email to