Re: $@ or $@F question

2002-03-20 Thread Paul D. Smith
%% Kovalevich Victor <[EMAIL PROTECTED]> writes: kv> Please try to send plain text to the mailing list rather than HTML. Thanks. kv> I have a question: can I use automatic variables $@ or $@F in the kv> dependency of a rule ? No. kv> When these variables are defined exactly: after

Canned Command Sequences and set -e

2002-03-20 Thread Nicolas Fleury
With make 3.79.1, on both IRIX and Linux x86, canned command sequences are not verbose; even commands not preceded by @ are not shown. For example: define run-yacc yacc $(firstword $^) mv y.tab.c $@ endef %.c: %.y $(run-yacc) is not the same thing (for output) as $.c: %.y yacc $(firs

$@ or $@F question

2002-03-20 Thread Kovalevich Victor
Hi. I have a question: can I use automatic variables $@ or $@F in the dependency of a rule ? When these variables are defined exactly: after then all the dependencies of a rule are resolved or when the processing of a rule is started ? Is the rule below correct? CCC=gcc CPPFLAGS=-DLINUX -UDEB