579fa8e7e96dd799823cd74226418236eda9ac29 hiram Wed Jan 26 10:09:22 2011 -0800 clean up garbage on a successful make diff --git src/makefile src/makefile index 5f48851..847644e 100644 --- src/makefile +++ src/makefile @@ -82,30 +82,31 @@ done clean: @for D in ${DIRS} x; do \ if test "$$D" != "x" ; then \ ( cd $$D && echo $$D && ${MAKE} clean ) ;\ x=$$? ; if [ $$x -ne 0 ]; then exit $$x ; fi \ fi ;\ done cd lib && ${MAKE} clean cd hg && ${MAKE} clean cd hg && ${MAKE} clean_utils cd jkOwnLib && ${MAKE} clean cd utils && ${MAKE} clean cd webBlat && ${MAKE} clean + cd isPcr && ${MAKE} clean touch non-empty-rm.o - find . -name \*.o -print | xargs rm rm -f tags TAGS testDirs = lib blat gfServer hg test:: $(testDirs:%=%.test) %.test: cd $* && ${MAKE} test LIB_TAGS_IN = lib/*.[hc] hg/lib/*.[hc] jkOwnLib/*.c inc/*.h hg/inc/*.h # build tags for libraries .PHONY: tags tags: ctags ${LIB_TAGS_IN}