if x#1 = x-d goto option if x#1 = x-m goto option goto nooption %option shift %nooption if x#1 = x goto howto if "#2" = "" goto default sysdef config.o68 #2 goto linkit %default sysdef config.o68 sysdef %linkit rewind if x#1 = x-d goto debug if x#1 = x-m goto map %nodebug link68 -qn -a4 crega4 -o #1.sys -y 0 crolib config -s syslib -s iolib del #1.map goto common %map shift link68 -q -a4 crega4 -o #1.sys -y 0 crolib config -s syslib -s iolib goto common %debug shift link68 -q -a4 crega4 -o #1.sys -y 0 psect debug crolib config -s syslib -s iolib goto common %common del config.o68 access rewa #1.sys chowner bin #1.sys version -c #1.sys exit %howto echo "Usage: crogen [-d] [-m] system_file [sysdef_file]" exit