cuda = /usr/local/cuda opts = -arch=sm_11 --use_fast_math -O2 --keep all: c++ ini.cxx -ffast-math -O2 -c $(cuda)/bin/nvcc ppc.cu -o ppc ini.o $(opts) rm ini.o clean: rm ppc.*.* ppc.ptx ppc.o ppc.hash || true