Commit | Line | Data |
---|---|---|
daef2fe2 | 1 | # Makefile 4.13 85/09/17 |
dfd136ea SL |
2 | # |
3 | DESTDIR= | |
4 | CFLAGS= -O | |
5 | ||
6 | # Programs that live in subdirectories, and have makefiles of their own. | |
7 | # | |
8e056aee | 8 | SUBDIR= ansi apl bib courier cpm dsh help hyper icon jove learn mh \ |
726a1232 | 9 | mkmf patch rcs sccstorcs spms sunrpc tac tools |
8e056aee KM |
10 | # |
11 | # Special purpose software that requires custom installation | |
12 | # | |
daef2fe2 | 13 | OPTDIR= dipress kermit mmdf news notes rn sumacc tn3270 umodem xns X |
dfd136ea | 14 | |
a43c8502 | 15 | all: ${SUBDIR} |
dfd136ea SL |
16 | |
17 | ${SUBDIR}: FRC | |
18 | cd $@; make ${MFLAGS} | |
19 | ||
20 | install: | |
572b8378 | 21 | -for i in ${SUBDIR}; do \ |
dfd136ea SL |
22 | (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done |
23 | ||
24 | clean: | |
572b8378 | 25 | -for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done |
dfd136ea SL |
26 | |
27 | FRC: |