summaryrefslogtreecommitdiff
path: root/tnet_io/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-29 23:21:54 +0800
committerDeterminant <[email protected]>2015-05-29 23:21:54 +0800
commit54546414d1700ed34bf2fe896f36e86e59850b63 (patch)
treebe1997da29ed390e48eb9508307d3a4edf201be5 /tnet_io/Makefile
parent74b9f7cb88cd21cfac3c2e50c8efb802485df0c5 (diff)
...
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