|
Boost-Build : |
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-08-11 01:57:42
Bryant Bunderson wrote:
> What is the proper way to call an external make file from a Jamfile? The
> following doesn't work for me:
>
> make adder : : @make-adder ;
>
> actions make-adder
> {
> "make -f adder.mak build"
> }
>
> I get the following error:
>
> error: target {
> Jamfile</simple/common>%Jamfile</simple/common>.make-adder-adder. } has
> no type
>
> It seems like calling out to an external make would be a simple thing to
> do in a build system. This has been really hard.
Try it as:
make adder : adder.mak : @make-adder ;
actions make-adder
{
make -f "$(>)" build
}
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk