startmacro u:option
local savehome

if env(ostype) eqs "VMS" then
  $@xmarea_ice:[lib]icelib.bld
else
  $/bin/csh -f $XMAREA_ICE/lib/icelib.b
endif
if /MAKELIB gt 0
  xmbld * l h ice
else
  xmbld * cl ,, ice
  env get home savehome
  pic home
  xmbld * cl %
  env set home savehome
endif

endmacro
