if $__TOS_AIX__
   TARG = "animals"
else
   TARG = "animals.exe"

if $__TOS_OS2__ | $__TOS_WIN__
   option IntelOptions = link(extdictionary, no)
if $__TOS_AIX__
   option IntelOptions = null

option
   incl(searchpath, "C:\\Programs\\IBM\\SOM\\include"),
   incl(searchpath, "."),
   IntelOptions,
   link(linkwithsharedlib, yes),
   gen(rtti, yes),
   link(libsearchpath, "C:\\Programs\\IBM\\SOM\\lib"),
   link(linkwithmultithreadlib, "yes"),
   opt(level, "2"),
   opt(tune, "pentium2"),
   gen(arch, "pentium2"),
   link(map, "Yes"),
   link(padding, "no"),
   link(debug, "no"),
   gen(call, "stdcall")
{
   target type("exe") TARG
   {
      source type("lib") "somdbg.lib"
      source type(c) "animals.c"
      source type(c) "main.c"
   }
}
