Problem in running makefile of clang-check


When running make from clang-check folder, I am getting following message:
/bin/sh: 1: /home/anand/Desktop/static2/llvm/Debug+Asserts/bin/llvm-config: not found
/home/anand/Desktop/static2/llvm/Makefile.rules:1070: *** llvm-config --libs failed. Stop.

Note: llvm-config is present in respective folder.

I have followed instruction on this page to build llvm and clang with some changes as follows:

  1. configure with optimization enabled

  2. make with -j4 and onlytools clang option

Thanks& Regards