print -R "-Iz:\\bc45/include -I../../jaulibs.c/. -I../../kl806.lib/. -I../../dsdin.c/. -I../. -Lz:\\bc45/lib -DTURBOC=1 -DTURBO_C=1 -f287 -w+ -d -vi -Ff=65535 -c -mh -DTURBOC=1 -DTURBO_C=1 -D__LARGE__" > bc.cfg
touch cc.ptk
rm cc.ptk
touch rcfs.exe
rm rcfs.exe
touch e
rm e
print -R compiling without debug code .\\justrcfs.c
print -R compiling without debug code .\\justrcfs.c > e
bcc.exe +bc.cfg -ojustrcfs.obj -DNDEBUG .\\justrcfs.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\.\\permssn.c
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\.\\permssn.c > e
bcc.exe +bc.cfg -opermssn.obj -DNDEBUG Z:\\MEYER\\806A01\\RCFS\\.\\permssn.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/tools\\pcterm.c
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/tools\\pcterm.c > e
bcc.exe +bc.cfg -opcterm.obj -DNDEBUG Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/tools\\pcterm.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../jaulibs.c\\interror.c
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../jaulibs.c\\interror.c > e
bcc.exe +bc.cfg -ointerror.obj -DNDEBUG Z:\\MEYER\\806A01\\RCFS\\../jaulibs.c\\interror.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/termdac1\\send.c
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/termdac1\\send.c > e
bcc.exe +bc.cfg -osend.obj -DNDEBUG Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/termdac1\\send.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/termdac1\\rcblkdev.c
print -R compiling without debug code Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/termdac1\\rcblkdev.c > e
bcc.exe +bc.cfg -orcblkdev.obj -DNDEBUG Z:\\MEYER\\806A01\\RCFS\\../kl806.lib/termdac1\\rcblkdev.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling with debug code Z:\\MEYER\\806A01\\RCFS\\.\\rcfs1.c
print -R compiling with debug code Z:\\MEYER\\806A01\\RCFS\\.\\rcfs1.c > e
bcc.exe +bc.cfg -N -y -v -orcfs1.odb Z:\\MEYER\\806A01\\RCFS\\.\\rcfs1.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
print -R compiling with debug code Z:\\MEYER\\806A01\\RCFS\\.\\rcfs2.c
print -R compiling with debug code Z:\\MEYER\\806A01\\RCFS\\.\\rcfs2.c > e
bcc.exe +bc.cfg -N -y -v -orcfs2.odb Z:\\MEYER\\806A01\\RCFS\\.\\rcfs2.c  >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
touch link.pc
rm link.pc
for i in justrcfs.obj permssn.obj pcterm.obj interror.obj send.obj rcblkdev.obj rcfs1.odb rcfs2.odb; do echo $i+ >> link.pc; done
echo "c0h.obj" >> link.pc
echo rcfs.exe >> link.pc
echo "# no map file" >> link.pc
echo "fp87.lib+" >> link.pc
echo "mathh.lib+" >> link.pc
echo "ch.lib" >> link.pc
print -R linking rcfs.exe
print -R linking rcfs.exe > e
tlink.exe -P- -x -v -l -c -Lz:\\bc45\\lib @link.pc >> e
cat e >> cc.ptk
if [ ! -z "`grep.exe ^Error e`" ];then cat e; exit 1; fi
