cuda_deviceQuery: cuda_deviceQuery.o
	nvcc -O3 cuda_deviceQuery.o -I /opt/cuda/inc -L /opt/cuda/lib -lcutil -lglut -o cuda_deviceQuery

cuda_deviceQuery.o: cuda_deviceQuery.cu
	nvcc -O3 -c --ptxas-options --suppress-double-demote-warning --compiler-options -fno-inline cuda_deviceQuery.cu -I /opt/cuda/inc -L /opt/cuda/lib -lcutil -lglut

clean:
	rm -rf *~ *.o cuda_deviceQuery
