зеркало из https://github.com/microsoft/caffe.git
also fix for runtest
This commit is contained in:
Родитель
60883953b6
Коммит
9251ae7fb4
5
Makefile
5
Makefile
|
@ -110,7 +110,8 @@ PYTHON_LDFLAGS := $(LDFLAGS) $(foreach library,$(PYTHON_LIBRARIES),-l$(library))
|
|||
##############################
|
||||
# Define build targets
|
||||
##############################
|
||||
.PHONY: all init test clean linecount lint tools examples py mat distribute py$(PROJECT) mat$(PROJECT) proto
|
||||
.PHONY: all init test clean linecount lint tools examples py mat distribute \
|
||||
py$(PROJECT) mat$(PROJECT) proto runtest
|
||||
|
||||
all: init $(NAME) $(STATIC_NAME) tools examples
|
||||
@echo $(CXX_OBJS)
|
||||
|
@ -172,7 +173,7 @@ runtest: $(TEST_ALL_BIN)
|
|||
$(TEST_BINS): %.testbin : %.o $(GTEST_OBJ) $(STATIC_NAME) $(TEST_HDRS)
|
||||
$(CXX) $(TEST_MAIN_SRC) $< $(GTEST_OBJ) $(STATIC_NAME) -o $@ $(CXXFLAGS) $(LDFLAGS) $(WARNINGS)
|
||||
|
||||
$(TEST_ALL_BIN): $(STATIC_NAME) $(TEST_OBJS)
|
||||
$(TEST_ALL_BIN): $(GTEST_OBJ) $(STATIC_NAME) $(TEST_OBJS)
|
||||
$(CXX) $(TEST_MAIN_SRC) $(TEST_OBJS) $(GTEST_OBJ) $(STATIC_NAME) -o $(TEST_ALL_BIN) $(CXXFLAGS) $(LDFLAGS) $(WARNINGS)
|
||||
|
||||
$(TOOL_BINS): %.bin : %.o $(STATIC_NAME)
|
||||
|
|
Загрузка…
Ссылка в новой задаче