0cfbeba76576c811dfdda453b8955429327f897d hiram Tue May 21 15:40:21 2013 -0700 fixup parallel build rules refs #9104 diff --git src/hg/geneBounds/makefile src/hg/geneBounds/makefile index 9c2f5fa..4ff731b 100644 --- src/hg/geneBounds/makefile +++ src/hg/geneBounds/makefile @@ -24,28 +24,33 @@ liftPromoHits \ motifLogo \ motifSig \ orf \ orfStats \ polyInfo \ promoSeqFromCluster \ raToCds \ twinOrf \ twinOrf2 \ twinOrf3 \ twinOrfStats \ twinOrfStats2 \ twinOrfStats3 + all: $(USE_DIRS:%=%.all) -%.all: +lib.all: cd lib && $(MAKE) - ( cd $* && echo $* && $(MAKE) ) + +# make sure lib is built first, even in a parallel make + +%.all: lib.all + cd $* && echo $* && $(MAKE) test:: cd clusterGenes && ${MAKE} test clean:: $(USE_DIRS:%=%.clean) %.clean:: - ( cd $* && echo $* && $(MAKE) clean ) + cd $* && echo $* && $(MAKE) clean