$EXEC {Exec file link Pascal code generator whose unlinked object is specifed in %0}
$     {Placing linked .obj file in %1 (if "$" then %1 is %0,                       }
$     {                                default PAS/PASX.OBJ)                       }
$
$     {Note, this exec file is used by the Pascal code generator generation exec   }
$     {file (<CL/GEN) and all params are explicitly set there.  However, this      }
$     {exec file can be used directly to just link a code generator generated by   }
$     {the exec file <COMP.                                                        }
$
$IF %0='' THEN
   $REQUEST %0 WITH 'Name of unlinked obj file: [GEN/Codex][.OBJ] '
$ENDIF
$
$DEFAULT %0 TO 'gen/codex'
$
$IF %1='' THEN
   $REQUEST %1 WITH 'Name to link to: [GEN/Codex][.OBJ]/$ '
$ENDIF
$
$IF %1='$' THEN
   $SET %1 TO %0
$ELSE
   $DEFAULT %1 TO 'gen/codex'
$ENDIF
$
l?
+M Dates Init
-p
+w
n/intrinsic.lib

%0
util/d
gen/hidesyscall
n/sulib
n/objiolib
n/iospaslib
obj/times
pas/dates
Primitives/io
ProgComm/Stub
hwintl


%1
$ENDEXEC

