I am far from an expert on this and I'm sure you'll get much better
responses from those that are experts here, but I don't think you should be
messing around with Makefiles.
LLVM has switched to a cmake-based build system quite a while back and if
I'm not mistaken, cmake will actually generate the Makefiles.
Of course, I am not sure what you hope to accomplish here, but assuming you
want to add a pass to the pipeline, you should probably follow something
like this:
http://llvm.org/docs/WritingAnLLVMPass.html#quick-start-writing-hello-world
On Tue, Jan 17, 2017 at 12:33 PM, Siddharth Shankar Swain via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> While writing llvm pass i am facing problem in the make file. My make file
> is attached
>
>
> It is showing the error :-
>
> Makefile:19: ../../../../Makefile.common: No such file or directory
> make: *** No rule to make target `../../../../Makefile.common'. Stop.
>
> What change i should make in it. Please help
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20170117/6fe515cb/attachment.html>