re-arrange build files so scons "config" dir isnt confused with ~/.blender/2.52/config
[blender-staging.git] / build_files / make / example_scripts / macos_nanmakefiles.sh
1 #!/bin/bash
2
3 rm -f /tmp/.nanguess
4 export MAKE=make
5 export NANBLENDERHOME=`pwd`
6 export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
7 export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
8 echo 
9 echo NANBLENDERHOME : ${NANBLENDERHOME}
10
11 export NAN_PYTHON=/sw
12
13 $HMAKE -C intern/
14 if [ $? -eq 0 ]; then
15         $HMAKE -C source/
16 fi
17 cd release
18 make