subdirs.mk: Add file

This commit is contained in:
Jan Lindemann 2002-07-22 14:19:01 +00:00 committed by Jan Lindemann
commit 4247af2a8e

24
make/subdirs.mk Normal file
View file

@ -0,0 +1,24 @@
ifdef SUBDIRS
all.dirs:
for dir in $(SUBDIRS); do make -C $$dir all; done
install.dirs:
for dir in $(SUBDIRS); do make -C $$dir install; done
clean.dirs:
for dir in $(SUBDIRS); do make -C $$dir clean; done
distclean.dirs:
for dir in $(SUBDIRS); do make -C $$dir distclean; done
all: all.dirs
install: install.dirs
clean: clean.dirs
distclean: distclean.dirs
else
all.dirs:
install.dirs:
clean.dirs:
distclean.dirs:
endif