1# You can do "make SUB=blah" to make only a few, or edit here, or both 2# You can also run make directly in the subdirs you want. 3 4SUB = ftp 5 6%.build: 7 (cd $(patsubst %.build, %, $@) && $(MAKE)) 8 9%.install: 10 (cd $(patsubst %.install, %, $@) && $(MAKE) install) 11 12%.clean: 13 (cd $(patsubst %.clean, %, $@) && $(MAKE) clean) 14 15all: $(patsubst %, %.build, $(SUB)) 16install: $(patsubst %, %.install, $(SUB)) 17clean: $(patsubst %, %.clean, $(SUB)) 18 19distclean: clean 20 rm -f MCONFIG 21