Prepare makefile for CUDA integration