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