<div>Hello~!</div> <div> </div> <div>I made two different files, Jamroot and rules.jam in the same directory. "rules.jam" has lots of information about building a project. So, "Jamroot" file has to access many variables exist in " rules.jam". Anyway, I used some code below. I palced this code to "rules.jam". </div> <div> </div> <div># in "rules.jam"</div> <div>local CFLAGS = -Wall -O2 ... ;</div> <div> </div> <div>rule peek ( module-name ? : variables + )</div> <div>{</div> <div> module-name $(module-name)</div> <div> {</div> <div> return $($(>)) ;</div> <div> }</div> <div>}</div> <div> </div> <div>And I used it by this code in "Jamroot".</div> <div> </div> <div># in "Jamfile"</div> <div>import rules ;</div> <div>local cflags = [ rules.peek : CFLAGS ] ;</div> <div>echo $(cflags) ;</div> <div> </div> <div>But, it didn't make any outputs. Why..?</div> <div> </div> <div>Does anybody know how to solve it?</div> <div> </div> <div>Thanks in advance.</div> <div> </div> <div> </div> <div> </div> <div>Young Hyun.</div>