cuda = /usr/local/cuda opts = -arch=sm_12 --use_fast_math -O2 -Xptxas=-v extr = --compiler-options=-O2,--fast-math all: $(cuda)/bin/nvcc ppc.cu -o ppc $(opts) $(extr) clean: rm ppc.*.* ppc.ptx ppc.o ppc.hash || true