diff options
author | Determinant <[email protected]> | 2015-05-29 23:06:58 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-05-29 23:06:58 +0800 |
commit | 74b9f7cb88cd21cfac3c2e50c8efb802485df0c5 (patch) | |
tree | bd6e583088a086144acc2d8af3eaca59691194ff /tnet_io/Makefile |
init
Diffstat (limited to 'tnet_io/Makefile')
-rw-r--r-- | tnet_io/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tnet_io/Makefile b/tnet_io/Makefile new file mode 100644 index 0000000..9389c8c --- /dev/null +++ b/tnet_io/Makefile @@ -0,0 +1,13 @@ +.PHONY: tnet +all: tnet $(OBJ_DIR)/test +$(OBJ_DIR)/test: $(OBJ_DIR)/cwrapper.o $(OBJ_DIR)/test.o $(OBJ_DIR)/libKaldiLib.a + g++ -o $@ $^ -Wl,-rpath=../../build/objs/ -L../../build/objs/ -lnerv -Wl,-rpath=../../build/luajit-2.0/lib -L../../build/luajit-2.0/lib -lluajit-5.1 +$(OBJ_DIR)/cwrapper.o: cwrapper.cpp + g++ -o $@ -c $< -DHAVE_ATLAS -I KaldiLib/ -g +$(OBJ_DIR)/%.o: %.c + g++ -o $@ -c $< -g +clean: + -rm $(OBJ_DIR)/*.o + $(MAKE) -C KaldiLib/ clean +tnet: + $(MAKE) -C KaldiLib/ |