bfb5529b48cbffeac31bd3ec0be8c331c18c7484
hiram
  Tue Jun 4 16:11:22 2013 -0700
including localEnvironment.mk to allow function in userApp environment refs #9149
diff --git src/hg/ratStuff/makefile src/hg/ratStuff/makefile
index a1edafa..11dfa90 100644
--- src/hg/ratStuff/makefile
+++ src/hg/ratStuff/makefile
@@ -1,40 +1,43 @@
+kentSrc = ../..
+
+include ${kentSrc}/inc/localEnvironment.mk
 
 # List of directories to build for userApps
 UTILS_APPLIST = \
 	mafAddIRows \
 	mafAddQRows \
 	mafFilter \
 	mafFrag \
 	mafFrags \
 	mafGene \
 	mafMeFirst \
 	mafSpeciesList \
 	mafSpeciesSubset \
 	mafSplit \
 	mafSplitPos \
 	mafsInRegion \
 	mafOrder
 
 # List of directories to build at UCSC
 DIRS = \
 	stageMultiz
 
 # List of directories to build
 USE_DIRS = $(DIRS) $(UTILS_APPLIST)
 
 # Build all directories
 all: ${USE_DIRS:%=%.all}
 %.all:
 	cd $* && echo $* && ${MAKE}
 
 test: ${USE_DIRS:%=%.test}
 %.test:
 	cd $* && echo $* && ${MAKE} test
 
 userApps: $(UTILS_APPLIST:%=%.userApp)
 %.userApp:
 	cd $* && echo $* && $(MAKE)
 
 clean: $(USE_DIRS:%=%.clean)
 %.clean:
 	cd $* && echo $* && $(MAKE) clean