 $ then
 $     is_debug = 1
 $ endif
+$!
+$! Prepare build directory
+$! -----------------------
+$!
+$! When building on a search list, need to do a create to make sure that
+$! the output directory exists, since the clean procedure tries to delete
+$! it.
+$!
+$ create/dir 'objdir'/prot=o:rwed
 $!
 $! Generate platform-specific config file
 $! --------------------------------------

$! Command-line options:
$!
$!    32        Compile with 32-bit pointers.
$!
$!    CCQUAL=x  Add "x" to the C compiler qualifiers.
$!    NOIEEE    Do not use IEEE floating point.
$!    DEBUG     Build in debug mode.
$!===========================================================================
$!
$!

$ args_len = f$length(args)
$ args_lower_len = f$length(args_lower)
$!
$ if f$locate(",clean,", args_lower) .lt. args_lower_len
$ then
$     $ 'vo_c' "Cleaning up previous build..."
$     set default 'proc_dev_dir'
$     @deltree.com 'arch_name'
$     goto common_exit 
$ endif
$!
$ build_64 = 1
$ if f$locate(",32,", args_lower) .lt. args_lower_len
$ then
