aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/scanmail/mkfile
blob: 5f0db8556d50d27e5ac57aebab2a7dae82927b3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</$objtype/mkfile

TARG=scanmail\
	testscan

OFILES=	common.$O

HFILES=	spam.h\
	../common/sys.h\

LIB=	../common/libcommon.a$O\

BIN=/$objtype/bin/upas
UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${TARG:%=%.c}\

</sys/src/cmd/mkmany
CFLAGS=$CFLAGS -I../common

scanmail.$O:	scanmail.c
	$CC $CFLAGS -D'SPOOL="/mail"' scanmail.c