From bbc8926f5905d1dc6606845086ff70a367afcf9d Mon Sep 17 00:00:00 2001
From: matta <matta@npt>
Date: Thu, 7 Feb 2013 15:34:16 +0000
Subject: [PATCH] * Adding parralle compilation to make.sh script  - Make is
 now excuted using option -j (allowing maximum number of job) in each Detector
 folder  - Decrease compilation time (machine dependent)

---
 NPLib/scripts/makefile.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NPLib/scripts/makefile.sh b/NPLib/scripts/makefile.sh
index f6fb86cb4..d6183c72b 100755
--- a/NPLib/scripts/makefile.sh
+++ b/NPLib/scripts/makefile.sh
@@ -53,6 +53,6 @@ do
       # add "-C ./" pattern at the beginning of the name
       cmd="-C ./$name"
       # execute make command with target specified on command line
-      make --silent $1 $cmd
+      make -j --silent $1 $cmd
    fi ;
 done
-- 
GitLab