better makefile that can handle opencv compiled with cuda, uses pkg-config for python settings, and remove unused libs
better makefile that can handle opencv compiled with cuda, uses pkg-config for python settings, and remove unused libs

yati-sagade/opencv-ndarray-conversion,yati-sagade/opencv-ndarray-conversion,pdxjohnny/opencv-ndarray-conversion,pdxjohnny/opencv-ndarray-conversion,yati-sagade/opencv-ndarray-conversion,yati-sagade/opencv-ndarray-conversion