blob: a9438863df77173d7171342c728d764e10e6bb79 (
plain) (
tree)
|
|
.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_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
g++ -o $@ -c $< -g
clean:
-rm $(OBJ_DIR)/*.o
$(MAKE) -C KaldiLib/ clean
tnet:
$(MAKE) -C KaldiLib/
|