topdir.mk: Remove redundant subdir implementation

- Leave subdirs to subdirs.mk
  - Add distclean and clean target
This commit is contained in:
Jan Lindemann 2007-06-16 17:54:16 +00:00 committed by Jan Lindemann
commit 606f783310

View file

@ -11,6 +11,10 @@ local-%:
unlocal:
rm -f $(shell find . -name local.mk)
all setup install clean distclean:
set -e; for d in $(SUBDIRS); do make -C $$d $@; done
include $(MODDIR)/make/subdirs.mk
distclean:
rm -f $(DISTCLEAN)
clean:
rm -f $(CLEAN)