diff options
author | Determinant <[email protected]> | 2015-06-03 09:42:05 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-03 09:42:05 +0800 |
commit | 38962683e518dcbebc0cfa6c0c9c9616b25d5bd1 (patch) | |
tree | f62b9c670960004f00d0cfd860b925f487edcf9f /Makefile | |
parent | 0c6ca6a17f06821cd5d612f489ca6cb68c2c4d5b (diff) |
add TNetReader
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,9 @@ .PHONY: tnet INCLUDE := -I $(BUILD_DIR)/luajit-2.0/include/luajit-2.0 -all: tnet $(OBJ_DIR)/tnet_io/test $(LIB_DIR)/libspeech.so +all: tnet $(OBJ_DIR)/tnet_io/test $(LIB_DIR)/libspeech.so $(LUA_DIR)/speech/init.lua +$(LUA_DIR)/speech/init.lua: init.lua + mkdir -p $(LUA_DIR)/speech + cp $< $@ $(LIB_DIR)/libspeech.so: $(OBJ_DIR)/tnet_io/cwrapper.o $(OBJ_DIR)/init.o $(OBJ_DIR)/tnet_io/init.o $(OBJ_DIR)/tnet_io/libKaldiLib.a gcc -shared -o $@ $(OBJ_DIR)/tnet_io/cwrapper.o $(OBJ_DIR)/init.o $(OBJ_DIR)/tnet_io/libKaldiLib.a $(OBJ_DIR)/tnet_io/init.o -lstdc++ -Wl,-rpath=$(LIB_DIR) -L$(LIB_DIR) -lnerv $(OBJ_DIR)/tnet_io/test: $(OBJ_DIR)/tnet_io/cwrapper.o $(OBJ_DIR)/tnet_io/test.o $(OBJ_DIR)/tnet_io/libKaldiLib.a |