BSD 4_3_Tahoe development
[unix-history] / .ref-BSD-4_3 / usr / src / lib / Makefile
CommitLineData
e324963e
KM
1#
2# Copyright (c) 1980 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
95f51977 6# @(#)Makefile 5.4 (Berkeley) 8/26/85
21d7efb1
KM
7#
8DESTDIR=
9CFLAGS= -O
74d5a2b2 10TAGSFILE=tags
21d7efb1
KM
11
12# Programs that live in subdirectories, and have makefiles of their own.
13#
e804469b 14SUBDIR= c2 cpp libc pcc
21d7efb1
KM
15
16all: ${SUBDIR}
17
f0f83cf4 18${SUBDIR}: FRC
21d7efb1
KM
19 cd $@; make ${MFLAGS}
20
f0f83cf4 21FRC:
95f51977 22
21d7efb1 23install:
3ceb07a7 24 -for i in ${SUBDIR}; do \
9c1744c1
KM
25 (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
26
74d5a2b2 27tags:
95f51977 28 cd libc; make ${MFLAGS} TAGSFILE=../${TAGSFILE} tags
21d7efb1
KM
29
30clean:
31 rm -f a.out core *.s *.o
3ceb07a7 32 -for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done