The modifications done include addition of variables OCV_INCLUDES, OCV_LIBS, OCV_LIBDIRS which specify the library path where OpenCV is installed. The final makefile that I am using is attached below. Also, the screen shot of the error which is displayed after running make command is attached (error).
Please let me know how to compile both OpenCL and OpenCV together. Also, note that I am just using OpenCV to read images from the camera and then I want to pass the image pixels to the OpenCL code to perform convolution operation.