Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ script:
# for the explanation why extra switches needed for clang with ccache.
- CXX="ccache clang++-3.8 -Qunused-arguments -fcolor-diagnostics -Wno-tautological-compare"
CFLAGS=""
LDFLAGS="-llapack"
LDFLAGS="-llapack -Wl,-fuse-ld=gold"
INCDIRS="$XROOT/usr/include"
LIBDIRS="$XROOT/usr/lib"
tools/extras/travis_script.sh
Expand Down
13 changes: 3 additions & 10 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,9 @@ include kaldi.mk

# Reset the default goal, so that the all target will become default
.DEFAULT_GOAL :=
all:
$(MAKE) checkversion
$(MAKE) kaldi.mk
$(MAKE) mklibdir
$(MAKE) subdirs
$(MAKE) -C matrix test
all: $(SUBDIRS) matrix/test
-echo Done

subdirs: $(SUBDIRS)

mklibdir:
test -d $(KALDILIBDIR) || mkdir $(KALDILIBDIR)

Expand Down Expand Up @@ -139,11 +132,11 @@ ext_depend: check_portaudio


.PHONY: $(SUBDIRS)
$(SUBDIRS) : mklibdir
$(SUBDIRS) : checkversion kaldi.mk mklibdir
$(MAKE) -C $@

.PHONY: $(EXT_SUBDIRS)
$(EXT_SUBDIRS) : mklibdir ext_depend
$(EXT_SUBDIRS) : checkversion kaldi.mk mklibdir ext_depend
$(MAKE) -C $@


Expand Down