diff -ru -x '*~' gputools_orig/src/Makefile gputools/src/Makefile --- gputools_orig/src/Makefile 2013-05-09 01:43:32.000000000 +0900 +++ gputools/src/Makefile 2014-10-21 21:41:23.067148490 +0900 @@ -6,6 +6,9 @@ R_HOME := $(shell R RHOME) +CUDA_INC := $(CUDA_HOME)/include +CUDA_LIB := $(CUDA_HOME)/lib + #compiler/preprocessor options INCS := -I. -I"$(CUDA_INC)" -I"$(R_INC)" PARAMS := $(DEVICEOPTS) -Xcompiler $(CPICFLAGS)