shithub: purgatorio

ref: 1dbb193077af7ba6ff7fb70a4dd465480764382e
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