summaryrefslogtreecommitdiff
path: root/tnet_io/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tnet_io/Makefile')
-rw-r--r--tnet_io/Makefile2
1 files changed, 1 insertions, 1 deletions
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