소스 검색

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

Nathalie Furmento 14 년 전
부모
커밋
2ab366f5f4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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/