nbody: refactor Makefile to support combined CUDA/OpenMP builds

Signed-off-by: Steven Noonan <steven@uplinklabs.net>