plan9fox/sys/src/cmd/atazz/mkfile
google fa7fb8b66b Add Erik Quanstrom's atazz
(needed to disable power management/head unload on 2.5" drive)
2012-09-20 22:39:48 +12:00

24 lines
390 B
Makefile

</$objtype/mkfile
TARG = atazz
HFILES = atazz.h tabs.h
OFILES = bit.$O main.$O probe.$O
BIN=/$objtype/bin
UPDATE=\
mkfile\
$HFILES\
${OFILES:%.$O=%.c}\
${TARG:%=/386/bin/%}\
%.ps:DQ: %.ms
eval `{doctype macros.ms $stem.ms} | \
lp -m.9 -dstdout >$target
%.pdf:DQ: %.ps
cat /sys/doc/docfonts $stem.ps >_$stem.ps
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
</sys/src/cmd/mkone