GNU make manual翻訳(63)

1977 ワード

翻訳を続ける
   After the first expansion phase the prerequisites list of the 'myfile' target will be `onefile' and `$(TWOVAR)'; the first (unescaped) variable reference to ONEVAR is expanded, while the second (escaped) variable reference is simply unescaped, without being recognized as a variable reference.  Now during the secondary expansion the first word is expanded again but since it contains no variable or function references it remains the static value `onefile', while the second word is now a normal reference to the variable TWOVAR, which is expanded to the value `twofile'.  The final result is that there are  two prerequisites, `onefile' and `twofile'. 

最初の拡張フェーズが終了すると、myfileの目的は:onefile$(TWOVAR)です.
最初の変数ONEVARの反転義を拡張し、
しかし,1つの変数に落下するのは1回の反転義にすぎず,それが変数参照であるという人為はない.
現在、二次拡張では、最初の語(onefile)は拡張されますが、変数や関数参照は含まれていないので、静的onefileとして維持されています.しかし、現在は正常であり、変数TWOVARの参照はtwofileに拡張されます.
最後の結果,onefileとtwofileの2つの前提条件が現れた. 
あとに続く