Merge pull request #7 from smuzaffar/master

fix LinkDef compilation when BUILD_LOG is set
if cuda tool available then add .cu file extensions for cuda files
.cu to .o obj compilation rules added for cuda. CUDA_FLAGS and CUDA_CFLAGS are supported. user can add/remove flags in these by using USER_<flag> or USER_REM_<flag>