<div class="gmail_quote">On Tue, Nov 30, 2010 at 19:49, Ryan Yan <span dir="ltr"><<a href="mailto:vyan2000@gmail.com">vyan2000@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1s4">Thanks a lot for the info. But there is no explicit assignment for PETSC_CC_INCLUDES in <br><div class="im">/home/yyan/local/petsc-dev/conf<br></div></div></blockquote><div><br></div><div>It is written by configure to $PETSC_ARCH/conf/petscvariables which is included by conf/variables.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":1s4">And could you tell where is the target "getincludedirs"? It is not in /home/yyan/local/petsc-dev/makefile<br>
</div></blockquote><div><br></div><div>Your makefile should have</div><div><br></div><div> include ${PETSC_DIR}/conf/variables</div><div><br></div><div>to get the variables, and</div><div><br></div><div>include ${PETSC_DIR}/conf/rules</div>
<div><br></div><div>if you also need the rules. The latter is where getincludedirs is defined.</div><div><br></div><div>Jed</div></div>