shithub: purgatorio

ref: c07ad86666257eb54db8723b330d289b13036d44
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