Commit | Line | Data |
---|---|---|
a43c8502 | 1 | # Makefile 4.5 84/07/05 |
dfd136ea SL |
2 | # |
3 | DESTDIR= | |
4 | CFLAGS= -O | |
5 | ||
6 | # Programs that live in subdirectories, and have makefiles of their own. | |
7 | # | |
c25d7094 | 8 | SUBDIR= apl bib courier cpm dsh icon hyper learn mh news notes rcs sccstorcs \ |
acb94cae | 9 | spms tools |
dfd136ea | 10 | |
a43c8502 | 11 | all: ${SUBDIR} |
dfd136ea SL |
12 | |
13 | ${SUBDIR}: FRC | |
14 | cd $@; make ${MFLAGS} | |
15 | ||
16 | install: | |
17 | for i in ${SUBDIR}; do \ | |
18 | (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done | |
19 | ||
20 | clean: | |
a43c8502 | 21 | for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done |
dfd136ea SL |
22 | |
23 | FRC: |