diff --git a/readme.txt b/readme.txt new file mode 100644 index 00000000000..d67f32fd079 --- /dev/null +++ b/readme.txt @@ -0,0 +1,17 @@ +Welcome to the fun world of opensource. + +To help you get started do the following before starting: + +Assuming your using tcsh/csh do the following before compiling. +#Set this to wherever you have extracted the source. +setenv NANBLENDERHOME `pwd` +setenv MAKEFLAGS "-w -I$NANBLENDERHOME/source" + +set NANBLENDERHOME=`pwd` +export NANBLENDERHOME +set MAKEFLAGS="-w -I$NANBLENDERHOME/source" +export MAKEFLAGS + +Then edit source/nan_definitions.mk to fit your environment. + + diff --git a/source/nan_definitions.mk b/source/nan_definitions.mk index d084ce972f5..1a0726080a7 100644 --- a/source/nan_definitions.mk +++ b/source/nan_definitions.mk @@ -41,9 +41,9 @@ all debug:: $(error $(ERRTXT)) endif endif - export SRCHOME ?= $(HOME)/develop/source - export NAN_LIBDIR ?= $(HOME)/develop/lib - export NAN_OBJDIR ?= $(HOME)/obj + export SRCHOME ?= $(NANBLENDERHOME)/source + export NAN_LIBDIR ?= $(NANBLENDERHOME)/lib + export NAN_OBJDIR ?= $(NANBLENDERHOME)/obj export NAN_PYTHON ?= $(LCGDIR)/python export NAN_PYTHON_VERSION ?= 2.0 export NAN_OPENAL ?= $(LCGDIR)/openal