Skip to content

Commit

Permalink
Build: use targets in make scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcdermo committed Jul 21, 2016
1 parent eab2685 commit 399c016
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
9 changes: 9 additions & 0 deletions Build/intel_linux_64/make_radcal.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
platform=intel64
dir=`pwd`
target=${dir##*/}

source $IFORT_COMPILER/bin/compilervars.sh $platform

echo Building $target
make -j4 DEBUG=1 VPATH="../../Source" -f ../makefile $target
9 changes: 9 additions & 0 deletions Build/intel_osx_64/make_radcal.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
platform=intel64
dir=`pwd`
target=${dir##*/}

source $IFORT_COMPILER/bin/compilervars.sh $platform

echo Building $target
make -j4 DEBUG=1 VPATH="../../Source" -f ../makefile $target
8 changes: 6 additions & 2 deletions Build/intel_osx_64_db/make_radcal.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
platform=intel64
dir=`pwd`
target=${dir##*/}

source $IFORT_COMPILER/bin/compilervars.sh intel64
source $IFORT_COMPILER/bin/compilervars.sh $platform

make VPATH="../../Source" -f ../makefile intel_osx_64_db
echo Building $target
make -j4 DEBUG=1 VPATH="../../Source" -f ../makefile $target
9 changes: 9 additions & 0 deletions Build/intel_win_64/make_radcal.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
platform=intel64
dir=`pwd`
target=${dir##*/}

source $IFORT_COMPILER/bin/compilervars.sh $platform

echo Building $target
make -j4 DEBUG=1 VPATH="../../Source" -f ../makefile $target

0 comments on commit 399c016

Please sign in to comment.