I've got a strange one-off generator that I don't know how
to deal with in
bb. In gnu-make, it would be expressed like this:
INPUTS=x.names y.tab z.tab
OUTPUTS=a.c a.h b.c b.h
$(OUTPUTS): $(INPUTS)
make_tables $(INPUTS)
"make_tables" is the code generator, a perl
script. The names of the output
files are hard coded into the script, and it can take a
number of inputs of
various suffixes.
I tried to express it like this:
rule MT { Depends $1 : $2 ; }
actions MT
{
make_tables $(<)
}
MT $(OUTPUTS) : $(INPUTS) ;
exe mytest : a.c ;
But it complains about not being able to find
"a.c". Perhaps I'm not
allowed to mix classic Jam with bb? Any suggestions on how
to go about
this?
Thanks,
Dan.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|