new template
[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#
300a5f74 6# @(#)Makefile 5.3 (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 14
36cf4cdb
KM
15all:
16 for i in ${SUBDIR}; do \
17 (cd $$i; make ${MFLAGS}); \
18 done
21d7efb1
KM
19
20${SUBDIR}: /tmp
21 cd $@; make ${MFLAGS}
22
23install:
24 for i in ${SUBDIR}; do \
9303cc20
PK
25 (echo $$i; cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); \
26 done
21d7efb1
KM
27
28clean:
29 rm -f a.out core *.s *.o
9303cc20
PK
30 for i in ${SUBDIR}; do \
31 (echo $$i; cd $$i; make ${MFLAGS} clean); \
32 done
300a5f74
KB
33
34depend: