title: How should a very simple Makefile look like for Cuda compiling under linux
body: <p>I want to compile a very basic hello world level Cuda program under Linux. I have three files:  </p>
  
  <ul>
  <li>the kernel: helloWorld.cu</li>
  <li>main method: helloWorld.cpp </li>
  <li>common header: helloWorld.h</li>
  </ul>
  
  <p>Could you write me a simple Makefile to compile this with nvcc and g++?</p>
  
  <p>Thanks,<br>
  Gabor</p>