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