X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/30602156de401b3e6040f21290d9343b07e6e2ff..943411ce300f8f3282dce7e480091d8e4ea98b54:/usr/src/Makefile diff --git a/usr/src/Makefile b/usr/src/Makefile index 95d2e22547..c78f957a5f 100644 --- a/usr/src/Makefile +++ b/usr/src/Makefile @@ -1,21 +1,29 @@ -# @(#)Makefile 4.2 (Berkeley) %G% +# @(#)Makefile 4.6 (Berkeley) %G% # DESTDIR= CFLAGS= -O # Programs that live in subdirectories, and have makefiles of their own. # -SUBDIR= lib usr.lib bin usr.bin etc ucb games local +SUBDIR= lib usr.lib bin usr.bin etc ucb new games local all: ${SUBDIR} -${SUBDIR}: /tmp +${SUBDIR}: FRC cd $@; make ${MFLAGS} +FRC: + install: - for i in ${SUBDIR}; do \ + -for i in ${SUBDIR}; do \ (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done +tags: + for i in include lib usr.lib; do \ + (cd $$i; make ${MFLAGS} TAGSFILE=../tags tags); \ + done + sort -u +0 -1 -o tags tags + clean: rm -f a.out core *.s *.o for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done