CC = nvcc CFLAGS = cudatest1: cudatest1.cu $(CC) $(CFLAGS) $< -o $@ -L$(CUDA)/lib64 -lcudart clean: rm -f cudatest1