Skip to content
Snippets Groups Projects
Commit 9ea647a6 authored by Chao Weng's avatar Chao Weng
Browse files

update Makefile in latbin for lattice-to-mpe-post

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@896 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent 26f33d6e
No related branches found
No related tags found
No related merge requests found
all:
EXTRA_CXXFLAGS = -Wno-sign-compare
include ../kaldi.mk
BINFILES = lattice-best-path lattice-prune lattice-equivalent lattice-to-nbest \
lattice-lmrescore lattice-scale lattice-union lattice-to-post \
lattice-determinize lattice-oracle lattice-rmali \
lattice-compose lattice-boost-ali lattice-copy lattice-to-fst \
lattice-to-phone-lattice lattice-interp lattice-project \
lattice-add-trans-probs lattice-difference lattice-word-align \
nbest-to-linear nbest-to-lattice lattice-1best linear-to-nbest \
lattice-mbr-decode lattice-align-words
OBJFILES =
all: $(BINFILES)
TESTFILES =
$(BINFILES): ../lat/kaldi-lat.a ../hmm/kaldi-hmm.a ../tree/kaldi-tree.a ../util/kaldi-util.a \
../matrix/kaldi-matrix.a ../base/kaldi-base.a
# Rule below would expand to, e.g.:
# ../base/kaldi-base.a:
# make -c ../base kaldi-base.a
# -c option to make is same as changing directory.
%.a:
$(MAKE) -C ${@D} ${@F}
clean:
-rm -f *.o *.a $(TESTFILES) $(BINFILES)
test: $(TESTFILES)
for x in $(TESTFILES); do ./$$x >/dev/null 2>&1 || (echo "***test $$x failed***"; exit 1); done
echo Tests succeeded
.valgrind: $(TESTFILES)
depend:
-$(CXX) -M $(CXXFLAGS) *.cc > .depend.mk
# removing automatic making of "depend" as it's quite slow.
#.depend.mk: depend
-include .depend.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment