X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/snake_gpu.git/blobdiff_plain/086196b2c97166f2420134552efb0a20195fece3..4808809dab187a1799ac382ae24041d6243a97cc:/makefile diff --git a/makefile b/makefile index c76cc2f..67b731b 100644 --- a/makefile +++ b/makefile @@ -28,7 +28,8 @@ OPTION_CC2 = $(OPTION_CC1) -funroll-all-loops -fstrict-aliasing OPTION_CC = $(OPTION_CC2) -I$(PATH_INCLUDE) -I$(PATH_SRC) - +#includes NV +INCNV = -I/home/perrot/NVIDIA_GPU_Computing_SDK/C/common/inc/ # librairies pour la compilation LIB_CC = -lm LIBSNV = -L/cm/shared/apps/cuda31/toolkit/3.1/lib64/ -lcuda -lcudart @@ -56,7 +57,7 @@ clean : # --use_fast_math # --ptxas-options=-v $(PATH_LIB)%_gpu.o : $(PATH_SRC)%_gpu.cu - $(NVCC) -arch=sm_13 --use_fast_math -c $< -o $@ + $(NVCC) $(INCNV) -arch=sm_13 --use_fast_math -c $< -o $@ $(PATH_LIB)%.o : $(PATH_SRC)%.c $(DEPS) $(CC) $(OPTION_CC) -c $< -o $@