LDFLAGS += $(foreach librarydir,$(LIBRARY_DIRS),-L$(librarydir)) \
$(foreach library,$(LIBRARIES),-l$(library))
-NVCC = nvcc $(NVCCFLAGS) $(CPPFLAGS) $(CUDA_ARCH)
+NVCC = $(CUDA_DIR)/bin/nvcc $(NVCCFLAGS) $(CPPFLAGS) $(CUDA_ARCH)
.PHONY: all test clean distclean linecount examples pycaffe distribute
$(NVCC) -c $< -o $@
$(PROTO_GEN_CC): $(PROTO_SRCS)
- protoc --proto_path=src --cpp_out=src --python_out=src $(PROTO_SRCS)
+ protoc --proto_path=src --cpp_out=src $(PROTO_SRCS)
mkdir -p include/caffe/proto
cp $(PROTO_GEN_HEADER) include/caffe/proto/