[cfe-dev] Need help with makefile in Clang
Vibhav Kundalia
vibhav.hk at gmail.com
Mon Apr 13 22:02:09 PDT 2015
Hi,
My name is Vibhav Kundalia. I am planning to use Clang for source to source
transformation of OpenCL code to a C^n code (which is a special language
for highly parallel DSP).
I have learnt rewrite functionality of Clang (version 3.4) and I have
installed llvm and Clang by following the steps on llvm website.
I am trying to implement a basic example of LibTooling.
I am using attached files.
In the correct directory, when I am using "make" command, I am getting
following error.
"Makefile:4: ../../../../Makefile.config: No such file or directory
../../../../Makefile.common:60: ../../../../Makefile.config: No such file
or directory
../../../../Makefile.common:68: /Makefile.rules: No such file or directory
make: *** No rule to make target `/Makefile.rules'. Stop."
I tried searching online for the solution but was not able to solve this
problem. Can you please help me out with this error? Please show me how to
get rid of it and how to get my makefile working.
Thank you very much.
Waiting for reply.
Regards,
Vibhav Kundalia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150414/1250c6c5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Example.cpp
Type: text/x-c++src
Size: 4251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150414/1250c6c5/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150414/1250c6c5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_example.sh
Type: application/x-sh
Size: 124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150414/1250c6c5/attachment.sh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150414/1250c6c5/attachment.c>
More information about the cfe-dev
mailing list