since input buffer is variable sized, people who include yy.h need whoami.h.
[unix-history] / usr / src / usr.bin / pascal / Makefile
CommitLineData
9303cc20 1# @(#)Makefile 1.3 (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 \
9303cc20
PK
17 (echo $$i; cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); \
18 done
21d7efb1
KM
19
20clean:
21 rm -f a.out core *.s *.o
9303cc20
PK
22 for i in ${SUBDIR}; do \
23 (echo $$i; cd $$i; make ${MFLAGS} clean); \
24 done