From 74b9f7cb88cd21cfac3c2e50c8efb802485df0c5 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 29 May 2015 23:06:58 +0800 Subject: init --- tnet_io/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tnet_io/Makefile (limited to 'tnet_io/Makefile') 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/ -- cgit v1.2.3-70-g09d2