port to tahoe by Nir peleg of CCI
[unix-history] / usr / src / usr.bin / pascal / 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#
6# @(#)Makefile 5.1 (Berkeley) %G%
21d7efb1
KM
7#
8DESTDIR=
9CFLAGS= -O
10
11# Programs that live in subdirectories, and have makefiles of their own.
12#
cbd33c0a 13SUBDIR= eyacc pi pc0 px pxp pdx utilities
21d7efb1
KM
14
15all: ${SUBDIR}
16
17${SUBDIR}: /tmp
18 cd $@; make ${MFLAGS}
19
20install:
21 for i in ${SUBDIR}; do \
9303cc20
PK
22 (echo $$i; cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); \
23 done
21d7efb1
KM
24
25clean:
26 rm -f a.out core *.s *.o
9303cc20
PK
27 for i in ${SUBDIR}; do \
28 (echo $$i; cd $$i; make ${MFLAGS} clean); \
29 done