jw-pkg/make/subdirs.mk
2011-06-15 08:03:36 +00:00

14 lines
264 B
Makefile

all:
clean: clean.var
distclean: clean.var distclean.var
all install clean distclean test:
ifneq ($(SUBDIRS_TO_ITERATE),)
set -e; for dir in $(SUBDIRS_TO_ITERATE); do make -C $$dir $@; done
endif
clean.var:
rm -rf $(CLEAN)
distclean.var:
rm -rf $(DISTCLEAN)