06d3e965d71aa1d4c90a333f391e6b9d29f76f07 hiram Fri Dec 20 18:28:05 2013 -0800 honor the clean target and get all subdirs cleaned diff --git src/hg/mouseStuff/makefile src/hg/mouseStuff/makefile index 4af0e6e..730d902 100644 --- src/hg/mouseStuff/makefile +++ src/hg/mouseStuff/makefile @@ -77,24 +77,28 @@ subsetAxt \ subsetTraces \ whyConserved # List of directories to build USE_DIRS = $(DIRS) $(UTILS_APPLIST) all: ${USE_DIRS:%=%.all} %.all: cd $* && echo $* && ${MAKE} userApps: $(UTILS_APPLIST:%=%.userApp) %.userApp: cd $* && echo $* && $(MAKE) +clean:: $(USE_DIRS:%=%.cleanAll) +%.cleanAll: + cd $* && echo $* && $(MAKE) clean + clean:: cd simpleChain && ${MAKE} clean testAll: $(USE_DIRS:%=%.testAll) %.testAll: @test -s $*/tests/makefile && (echo $*; cd $* && $(MAKE) test) || true test:: testAll