When you say:
XXX target.t : source.s ;
you are invoking rule XXX with arguments target.t and source.s
Since there isn't a definition of rule XXX in your Jamfile, it
gives the message.
dave
> From: Jack Andrews <jack...@str.com.au>
> Date: Fri, 26 Feb 1999 11:41:40 +1100
> MIME-Version: 1.0
> X-Mailer: Internet Mail Service (5.5.1960.3)
> Content-Type: text/plain
> Precedence: list
> Errors-To: list...@perforce.com
> X-Sequence: 656
>
> Why do I get this message:
>
>
> Compiler is Microsoft Visual C++
> warning: unknown rule XXX
> ...found 7 target(s)...
>
>
> when I run jam in the directory that this Jamfile (i created) exists in:
>
>
> XXX target.t : source.s ;
>
> rule UserObject
> {
> switch $(>)
> {
> case *.s : SourceCompiler $(<) : $(>) ;
> case * : ECHO "unknown suffix on" $(>) ;
> }
> }
>
> rule SourceCompiler
> {
> DEPENDS $(<) : $(>) ;
> Clean clean : $(<) ;
> }
>
>
> actions SourceCompiler
> {
> copy $(>) $(<)
> }