Fix makefile (re-add lost changes)
This commit is contained in:
Родитель
574a5afbcc
Коммит
23839659b8
22
Makefile
22
Makefile
|
@ -440,6 +440,28 @@ $(SPARSEPCREADER): $(SPARSEPCREADER_OBJ) | $(CNTKMATH_LIB)
|
|||
@echo $(SEPARATOR)
|
||||
$(CXX) $(LDFLAGS) -shared $(patsubst %,-L%, $(LIBDIR) $(LIBPATH)) $(patsubst %,$(RPATH)%, $(ORIGINDIR) $(LIBPATH)) -o $@ $^ -l$(CNTKMATH)
|
||||
|
||||
########################################
|
||||
# CNTKTextFormatReader plugin
|
||||
########################################
|
||||
|
||||
CNTKTEXTFORMATREADER_SRC =\
|
||||
$(SOURCEDIR)/Readers/CNTKTextFormatReader/Exports.cpp \
|
||||
$(SOURCEDIR)/Readers/CNTKTextFormatReader/Indexer.cpp \
|
||||
$(SOURCEDIR)/Readers/CNTKTextFormatReader/TextParser.cpp \
|
||||
$(SOURCEDIR)/Readers/CNTKTextFormatReader/CNTKTextFormatReader.cpp \
|
||||
$(SOURCEDIR)/Readers/CNTKTextFormatReader/TextConfigHelper.cpp \
|
||||
|
||||
CNTKTEXTFORMATREADER_OBJ := $(patsubst %.cpp, $(OBJDIR)/%.o, $(CNTKTEXTFORMATREADER_SRC))
|
||||
|
||||
CNTKTEXTFORMATREADER:=$(LIBDIR)/CNTKTextFormatReader.so
|
||||
ALL += $(CNTKTEXTFORMATREADER)
|
||||
SRC+=$(CNTKTEXTFORMATREADER_SRC)
|
||||
|
||||
$(CNTKTEXTFORMATREADER): $(CNTKTEXTFORMATREADER_OBJ) | $(CNTKMATH_LIB)
|
||||
@echo $(SEPARATOR)
|
||||
$(CXX) $(LDFLAGS) -shared $(patsubst %,-L%, $(LIBDIR) $(LIBPATH)) $(patsubst %,$(RPATH)%, $(ORIGINDIR) $(LIBPATH)) -o $@ $^ -l$(CNTKMATH)
|
||||
|
||||
|
||||
########################################
|
||||
# Kaldi plugins
|
||||
########################################
|
||||
|
|
Загрузка…
Ссылка в новой задаче