This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: farcompose | |
CXXFLAGS=-O2 -std=c++11 | |
LDFLAGS=-L/usr/local/lib -L/usr/local/lib/fst | |
farcompose: farcompose.o | |
$(CXX) $^ -o $@ $(LDFLAGS) $(LDLIBS) -lfst -lfstfar | |
clean: | |
rm -rf *.o farcompose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/Makefile | |
=================================================================== | |
--- src/Makefile (revision 3967) | |
+++ src/Makefile (working copy) | |
@@ -92,7 +92,7 @@ | |
# delete or comment out the lines below. | |
OPENFST_VER = $(shell grep 'PACKAGE_VERSION' ../tools/openfst/Makefile | sed -e 's:.*= ::') | |
test_dependencies: | |
- @[ "$(OPENFST_VER)" == '1.2.10' ] || [ "$(OPENFST_VER)" == '1.3.2' ] || [ "$(OPENFST_VER)" == '1.3.4' ] || { echo "You now need openfst-1.2.10. Do: cd ../tools; svn update; ./install.sh; cd ../src; make depend; make"; exit 1; }; | |
+ @[ "$(OPENFST_VER)" == '1.4.0' ] || { echo "You now need openfst-1.4.0. Do: cd ../tools; svn update; ./install.sh; cd ../src; make depend; make"; exit 1; }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: lattice4-arc.so | |
CXXFLAGS+=-O2 -g -fPIC | |
#For OSX 10.9 uncomment fhe following | |
# | |
#CXXFLAGS+=-stdlib=libstdc++ | |
#LDFLAGS+=-stdlib=libstdc++ | |
lattice4-arc.so: lattice-arc.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
EXTRA_CXXFLAGS = -Wno-mismatched-tags -Wno-sign-compare \ | |
-L../../tools/openfst-1.3.2/src/extensions/far/.libs \ | |
-lfstfar -lfstfarscript | |
include ../kaldi.mk | |
BINFILES = far-to-lattice |
NewerOlder