From e39fb231f64ddc8b79a6eb5434f529aadb3165fe Mon Sep 17 00:00:00 2001 From: Yimmon Zhuang Date: Sat, 10 Oct 2015 22:29:30 +0800 Subject: move sequence related layers to kaldi_seq --- kaldi_seq/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'kaldi_seq/Makefile') diff --git a/kaldi_seq/Makefile b/kaldi_seq/Makefile index 1232c5a..e76eea8 100644 --- a/kaldi_seq/Makefile +++ b/kaldi_seq/Makefile @@ -6,9 +6,10 @@ BUILD_DIR := $(CURDIR)/build INC_PATH := $(LUA_BINDIR)/../include/ OBJS := init.o src/kaldi_mpe.o src/kaldi_mmi.o src/init.o LIBS := libkaldiseq.so +LUA_LIBS := init.lua layer/mpe.lua layer/mmi.lua INCLUDE := -I $(LUA_INCDIR) -I $(INC_PATH) -DLUA_USE_APICHECK -SUBDIR := src +SUBDIR := src layer OBJ_DIR := $(BUILD_DIR)/objs LUA_DIR := $(INST_LUADIR)/kaldi_seq KALDIINCLUDE := -I $(KDIR)/tools/ATLAS/include/ -I $(KDIR)/tools/openfst/include/ -I $(KDIR)/src/ @@ -17,10 +18,11 @@ OBJS := $(addprefix $(OBJ_DIR)/,$(OBJS)) LIBS := $(addprefix $(INST_LIBDIR)/,$(LIBS)) OBJ_SUBDIR := $(addprefix $(OBJ_DIR)/,$(SUBDIR)) LUA_SUBDIR := $(addprefix $(LUA_DIR)/,$(SUBDIR)) +LUA_LIBS := $(addprefix $(LUA_DIR)/,$(LUA_LIBS)) LIB_PATH := $(LUA_BINDIR)/../lib build: $(OBJ_DIR) $(OBJ_SUBDIR) $(OBJS) -install: $(LUA_DIR) $(LUA_SUBDIR) $(LIBS) +install: $(LUA_DIR) $(LUA_SUBDIR) $(LUA_LIBS) $(LIBS) include $(KDIR)/src/kaldi.mk -- cgit v1.2.3-70-g09d2