diff options
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/ |