From 71f3606bff110dda3eca39e82ed4059dc25534dd Mon Sep 17 00:00:00 2001 From: Yann Dirson Date: Fri, 23 May 2014 23:54:28 +0200 Subject: [PATCH] Fix parallel build for default make target. "make -j" would result in running 3 builds in parallel, when those builds are interdependant (bbk needs gnushogi, which needs pat2inc). This would result in some builds being done several times, and make trying to run binaries as they are generated a second time from another job. This fix won't prevent problems when using -j and requesting several targets at the same time, but at least the default build will work? --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 8c1e993..45f9597 100644 --- a/Makefile.in +++ b/Makefile.in @@ -35,8 +35,8 @@ PROGNAME = @PROGNAME@ # Default targets. # -all : gnushogi_compile pat2inc bbk - +all: + cd $(GNUSHOGIDIR) && $(MAKE) all # # Primary targets. -- 2.11.4.GIT