Makefile: have check target depend on all

Otherwise it will simply fail immediately from a just-cleaned
workspace:

$ make check -j1
cd testsuite && make && make alltests
echo "Entering iproute2" && cd iproute2 && make configure && cd ..;
Entering iproute2
make -C tools
Makefile:3: ../../config.mk: No such file or directory
make[2]: *** No rule to make target '../../config.mk'.  Stop.

Fixes: 8804a8c0d3 ("Makefile: Add check target")

Signed-off-by: Luca Boccassi <bluca@debian.org>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
This commit is contained in:
Luca Boccassi 2018-12-16 20:55:37 +00:00 committed by Stephen Hemminger
parent cec6b03124
commit 0115d55e9f
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ clobber:
distclean: clobber
check:
check: all
cd testsuite && $(MAKE) && $(MAKE) alltests
cscope: