Rev 1029 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
dirs := $(filter-out CVS cvs cm7326 makefile, $(wildcard *))
p_all := $(addprefix prefixall_, $(dirs))
p_install := $(addprefix prefixinstall_, $(dirs))
p_clean := $(addprefix prefixclean_, $(dirs))
p_cleanall := $(addprefix prefixcleanall_, $(dirs))
p_depend := $(addprefix prefixdepend_, $(dirs))
.PHONY: all install clean cleanall depend
install: $(p_install)
all: $(p_all)
clean: $(p_clean)
cleanall: $(p_cleanall)
depend: $(p_depend)
prefixinstall_%:
make -C $* install
prefixall_%:
make -C $* all
prefixclean_%:
make -C $* clean
prefixcleanall_%:
make -C $* cleanall
prefixdepend_%:
make -C $* depend