From 54546414d1700ed34bf2fe896f36e86e59850b63 Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 29 May 2015 23:21:54 +0800 Subject: ... --- tnet_io/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tnet_io/Makefile b/tnet_io/Makefile index 9389c8c..a943886 100644 --- a/tnet_io/Makefile +++ b/tnet_io/Makefile @@ -1,7 +1,7 @@ .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 + g++ -o $@ $^ -Wl,-rpath=$(BUILD_DIR)/objs -L$(BUILD_DIR)/objs -lnerv -Wl,-rpath=$(BUILD_DIR)/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 -- cgit v1.2.3-70-g09d2