]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/compilemod.sh
changed the way the group is found. more robust.
[creaToolsTools.git] / Linux / scripts / compilemod.sh
index 79131209c9f17ae5f8f380d479e3fd4fcaa96285..f644bb46fe9c30b85bf78aee3d567eb805a8b278 100644 (file)
@@ -1,14 +1,15 @@
 # $1 : useless for Linux (Release/Debug)
 # $2 : name of source ex : crea
-# $3 : generationdir ex : /tmp/myGenerationDir
+# $3 : generationdir ex : ~/myDefaultGenerationDir
 
 cd $3/creatools_bin/$2Bin
 echo "--------------------------------------in compilemod-- $2 ------------"
 echo $1
 echo $2
 echo $3
+echo $4
 
-make -j 2
+make -j $4
 
 # We don't install immediately!
 
@@ -17,4 +18,4 @@ make -j 2
 #cd ../..
 #pwd
 
-echo "--------------------------------------out compilemod--------------"
+echo "--------------------------------------out compilemod-- $2 -----------"