shithub: riscv

ref: fe1eb39db7ae6904924f3ab1f6f9b34416f2eb1b
dir: /sys/src/cmd/postscript/tr2post/mkfile/

View raw version
</$objtype/mkfile

<../config

COMMONDIR=../common

TARG=tr2post

OFILES=tr2post.$O\
	chartab.$O\
	Bgetfield.$O\
	conv.$O\
	utils.$O\
	devcntl.$O\
	draw.$O\
	readDESC.$O\
	ps_include.$O\
	pictures.$O\
	common.$O\

HFILES=tr2post.h\
	ps_include.h\
	$COMMONDIR/common.h\
	$COMMONDIR/comments.h\
	$COMMONDIR/path.h\
	$COMMONDIR/ext.h\

BIN=$POSTBIN

</sys/src/cmd/mkone

CFLAGS=-c -D'PROGRAMVERSION="0.1"' -D'DOROUND=1' -I$COMMONDIR -D'PROGRAMNAME="troff, Plan 9 edition"'

%.$O:	$COMMONDIR/%.c
	$CC $CFLAGS $COMMONDIR/$stem.c