USG_PG3/usr/source/rc/agen.rc

:	creat "agen"

:	note:  "al.c" and "ay.c" were created from lex and yacc respectively.
:		The corresponding source should be found if possible.

echo 
echo /usr/bin/agen
chdir ../agen
cp al.c lex.yy.c
cc -O -s ay.c -ly -ll -lp
mv -f a.out /usr/bin/agen
rm lex.yy.c

chdir /usr/bin
chmod 755 agen
chown bin agen

:	note:	The source files aabin.c aahash.c aasub.c are referenced
:		by "agen" and must reside in "/usr/source/agen" directory.

chdir /usr/source/agen
ls aabin.c aahash.c aasub.c