summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2016-03-03 15:49:10 +0800
committerDeterminant <[email protected]>2016-03-03 15:49:10 +0800
commite1c004f89ec3a783cf1948165baae5975489f775 (patch)
treef6b630853eac2719ef290d5bb8b7573e4f2c8567 /Makefile
parentc964d74b1927ffd9fd431f457f7e385b2d2ba5ba (diff)
add Penlight to facilitate file copying and dir making
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1711b3c..28012da 100644
--- a/Makefile
+++ b/Makefile
@@ -23,9 +23,10 @@ export KALDI_BASE
export BLAS_LDFLAGS
.PHONY: nerv speech/speech_utils speech/htk_io speech/kaldi_io speech/kaldi_decode \
- nerv-clean speech/speech_utils-clean speech/htk_io-clean speech/kaldi_io-clean speech/kaldi_decode-clean
+ nerv-clean speech/speech_utils-clean speech/htk_io-clean speech/kaldi_io-clean speech/kaldi_decode-clean \
+ Penlight
-all: luajit luarocks nerv
+all: luajit luarocks Penlight nerv
luajit:
PREFIX=$(PREFIX) ./tools/build_luajit.sh
luarocks:
@@ -35,7 +36,7 @@ speech: speech/speech_utils speech/htk_io speech/kaldi_io speech/kaldi_decode
speech-clean: speech/speech_utils-clean speech/htk_io-clean speech/kaldi_io-clean speech/kaldi_decode-clean
clean: nerv-clean speech-clean
-nerv speech/speech_utils speech/htk_io speech/kaldi_io speech/kaldi_decode:
+nerv Penlight speech/speech_utils speech/htk_io speech/kaldi_io speech/kaldi_decode:
cd $@; $(PREFIX)/bin/luarocks make
nerv-clean speech/speech_utils-clean speech/htk_io-clean speech/kaldi_io-clean speech/kaldi_decode-clean:
cd $(subst -clean,,$@); make clean LUA_BINDIR=$(PREFIX)/bin/