Writing llvm pass

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

Makefile (555 Bytes)

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