shithub: purgatorio

ref: b5bc6572b0a82c52ab04bcf25e1ed76700deb246
dir: /utils/iyacc/mkfile/

View raw version
<../../mkconfig

TARG=iyacc

OFILES=	yacc.$O\

HFILES= ../../include/bio.h\

LIBS=bio 9		# libbio.a uses lib9.a so order matters.

BIN=$ROOT/$OBJDIR/bin

<$ROOT/mkfiles/mkone-$SHELLTYPE

CFLAGS=	$CFLAGS -I../include '-DROOT="'$ROOT'"' '-DPARSER="yaccpar"' '-DPARSERS="yaccpar"'

install:V:	$ROOT/utils/lib/yaccpar

$ROOT/utils/lib/yaccpar:	yaccpar
	rm -f $target && cp $prereq $target