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