<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’m trying to make sure Clang works with LLVM Mainline and SAFECode specifically.  To that end, I’ve replaced the llvm_objdir/projects/safecode/tools/clang with Clang Mainline, and I’ve tried to compile it.  However, I get the strangest error:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">make[1]: *** No rule to make target `../../../../Makefile.common'.  Stop.</div></div><div class=""><br class=""></div><div class="">What’s strange about it is that the only time (in this Makefile or any of its included files) that a “Makefile.common” is referenced, it’s not got that directory path.  The file is included as follows:</div><div class=""><br class=""></div><div class="">include $(LEVEL)/Makefile.common</div><div class=""><br class=""></div><div class="">LEVEL is defined as $(CLANG_LEVEL)/../../.., and CLANG_LEVEL is defined as . (that is, the same directory as the Makefile).  The way my local repository is organized, Makefile.common is located at ./../../../Makefile.common, not ../../../../Makefile.common, as the error indicates is being included (or attempted at being included).</div><div class=""><br class=""></div><div class="">Does anyone know what the problem is?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Peter Finn</div></body></html>