diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/linux/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in index 5dfb75e..3894a8a 100644 --- a/build/linux/Makefile.in +++ b/build/linux/Makefile.in @@ -353,6 +353,7 @@ ifeq ($(gen_static_libs),yes) @$(NVCC) $(NVCCFLAGS) -c $(<) -o $*.o >/dev/null 2>&1 endif @# Generate a .d file, and change the target name in it from .o to .lo + @# CUDA 5.5's nvcc doesn't have the -MT option we would like to use. @$(NVCC) $(NVCCFLAGS) -M $(<) -odir $(*D) -o $(*D)/$(DEPDIR)/$(*F).d2 @sed '1s/\.o :/.lo :/' < $(*D)/$(DEPDIR)/$(*F).d2 > $(*D)/$(DEPDIR)/$(*F).d @rm -f $(*D)/$(DEPDIR)/$(*F).d2 |