home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / zlib114s.zip / zlib114 / example.icc < prev    next >
Text File  |  2002-03-17  |  1KB  |  30 lines

  1. option incl(searchpath, "../"), gen(arch, "pentium2"), link(linkwithmultithreadlib, "yes"), 
  2. link(linkwithsharedlib, "yes"), opt(level, "2"), 
  3. opt(tune, "pentium2"), report(level, "E"), 
  4. file(genobject, './dynamic/obj/') 
  5. {
  6.    run after sources ("minigzip.exe") targets("minigzip.exe")
  7.        "dllrname example.exe CPPRMI40=VAC40CMT CPPRBI40=VAC40PMT /Q"
  8.  
  9.    target type('exe') 'minigzip.exe'
  10.    {
  11.       source type('c')   '../minigzip.c'
  12.       source type('lib') 'zlib.lib'
  13.    }
  14. }
  15.  
  16. option gen(arch, "pentium2"), link(linkwithmultithreadlib, "yes"), 
  17.        link(linkwithsharedlib, "yes"), link(pmtype, "vio"), 
  18.        opt(level, "2"), opt(tune, "pentium2"), incl(searchpath, "../"), 
  19.        report(level, "E"), file(genobject, './dynamic/obj/')
  20. {
  21.    run after sources ("example.exe") targets("example.exe")
  22.        "dllrname example.exe CPPRMI40=VAC40CMT CPPRBI40=VAC40PMT /Q"
  23.  
  24.    target type('exe')  'example.exe'
  25.    {
  26.        source type('lib') 'zlib.lib'
  27.        source type("c") '../example.c'
  28.    }
  29. }
  30.