Explorar el Código

examples/stencil/Makefile.am: update rule for cuda compilation

Nathalie Furmento hace 14 años
padre
commit
2ab366f5f4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      examples/stencil/Makefile.am

+ 1 - 0
examples/stencil/Makefile.am

@@ -33,6 +33,7 @@ NVCCFLAGS += $(HWLOC_CFLAGS)
 	$(NVCC) -cubin $< -o $@ --compiler-options -fno-strict-aliasing  $(NVCCFLAGS)
 
 .cu.o:
+	$(MKDIR_P) `dirname $@`
 	$(NVCC) $< -c -o $@ --compiler-options -fno-strict-aliasing  $(NVCCFLAGS) -I$(top_srcdir)/include/ -I$(top_builddir)/include/