| 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 |
|
| 4 |
SUB = finger fingerd |
| 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 |
|
| 15 |
all: $(patsubst %, %.build, $(SUB)) |
| 16 |
install: $(patsubst %, %.install, $(SUB)) |
| 17 |
clean: $(patsubst %, %.clean, $(SUB)) |
| 18 |
|
| 19 |
distclean: clean |
| 20 |
rm -f MCONFIG |