38785bd54a6b4f7c5f13bc7a4b6666d69a2a422c
hiram
  Thu Jun 17 15:37:36 2010 -0700
fixup makefiles to have clean targets
diff --git src/hg/geneBounds/makefile src/hg/geneBounds/makefile
index a352bd7..877b0e5 100644
--- src/hg/geneBounds/makefile
+++ src/hg/geneBounds/makefile
@@ -1,46 +1,50 @@
 include ../../inc/common.mk
 # Build all directories in makeDb 
 
 # List of directories to build
 USE_DIRS = $(DIRS)
 
 DIRS = \
 	assessLibs \
 	averagExp \
 	axtForEst \
 	bedCons \
 	checkableBorf \
 	clusterGenes \
 	clusterPsl \
 	clusterRna \
 	dnaMotifFind \
 	eisenInput \
 	emblMatrixToMotif \
 	estLibStats \
 	expToRna \
 	iriToControlTable \
 	iriToDnaMotif \
 	lib \
 	liftPromoHits \
 	motifLogo \
 	motifSig \
 	orf \
 	orfStats \
 	polyInfo \
 	promoSeqFromCluster \
 	raToCds \
 	twinOrf \
 	twinOrf2 \
 	twinOrf3 \
 	twinOrfStats \
 	twinOrfStats2 \
 	twinOrfStats3 
 
 all: $(USE_DIRS:%=%.all)
 
 %.all:
 	( cd $* && echo $* && $(MAKE) )
 
 test::
 	cd clusterGenes && ${MAKE} test
 
+clean:: $(USE_DIRS:%=%.clean)
+
+%.clean::
+	( cd $* && echo $* && $(MAKE) clean )