nvcc = /usr/local/cuda/bin/nvcc execs= cudaPrintfExample threadVsBlockScheduling all:$(execs) cudaPrintfExample: cudaPrintfExample.cu $(nvcc) cudaPrintfExample.cu -o cudaPrintfExample threadVsBlockScheduling: threadVsBlockScheduling.cu $(nvcc) threadVsBlockScheduling.cu -o threadVsBlockScheduling clean: rm $(execs) -f