Makefile: Fix phony training target

This fixes wrong behaviour of "make training" when dependencies for
training were incomplete.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2016-06-11 22:40:00 +02:00 committed by Zdenko Podobný
parent 10243d5762
commit c25c8b330d

View File

@ -17,7 +17,7 @@ training:
@echo "Need to reconfigure project, so there are no errors"
endif
.PHONY: install-langs ScrollView.jar install-jars $(TRAINING_SUBDIR)
.PHONY: install-langs ScrollView.jar install-jars training
SUBDIRS = ccutil viewer cutil opencl ccstruct dict classify wordrec textord
if !NO_CUBE_BUILD