Plan 9 from User Space's /usr/local/plan9/src/libregexp/mkfile

<$PLAN9/src/mkhdr

LIB=libregexp9.a

OFILES=\
	regcomp.$O\
	regerror.$O\
	regexec.$O\
	regsub.$O\
	regaux.$O\
	rregexec.$O\
	rregsub.$O\

HFILES=\
	$PLAN9/include/regexp9.h\
	regcomp.h\

<$PLAN9/src/mksyslib

test: test.$O $LIB
	$CC -o test test.$O $LIB -L/usr/local/lib -lfmt -lutf

test2: test2.$O $LIB
	$CC -o test2 test2.$O $LIB -L/usr/local/lib -lfmt -lutf


Space Glenda

Copyright © 2005 Lucent Technologies, Russ Cox, MIT.
See license for details.