view progs/Make.com @ 2552:345f8c960657

added ezminc library
author Vladimir S. FONOV <vladimir.fonov@gmail.com>
date Thu, 08 Dec 2011 18:47:56 -0500
parents 83215c8047d0
children
line wrap: on
line source

$! To compile minc programs for vms
$!
$! Get arguments
$ if (p1.eqs."")
$ then
$    write sys$output "Usage: @make objects
$    exit
$ endif
$ objects = p1
$!
$ ccc := cc /opt/nodebug/nolist -
   /include=([],[-.proglib],[--.src],[---.netcdf.include])
$
$ on error then goto exit
$ on control_y then goto exit
$ set ver
$ ccc 'objects'
$ link/nodebug 'objects', -
      [-.proglib]mincprog/lib, -
      [--.src]minc/lib, -
      [---.netcdf.lib]netcdf/lib, -
      sys$input/opt
         sys$library:vaxcrtl.exe/share
$exit:
$ set nover