(no message)
[unix-history] / usr / src / usr.bin / pascal / Makefile
CommitLineData
1259ff80 1# @(#)Makefile 1.2 (Berkeley) %G%
21d7efb1
KM
2#
3DESTDIR=
4CFLAGS= -O
5
6# Programs that live in subdirectories, and have makefiles of their own.
7#
1259ff80 8SUBDIR= pi pc0 px pxp pdx utilities
21d7efb1
KM
9
10all: ${SUBDIR}
11
12${SUBDIR}: /tmp
13 cd $@; make ${MFLAGS}
14
15install:
16 for i in ${SUBDIR}; do \
17 (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); done
18
19clean:
20 rm -f a.out core *.s *.o
21 for i in ${SUBDIR}; do (echo $$i; cd $$i; make ${MFLAGS} clean); done