home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / C / FS191 / XSPAWN33 / XLATTICE.BAT < prev    next >
DOS Batch File  |  1991-05-04  |  680b  |  19 lines

  1. rem create Lattice C libraries
  2.  
  3. rem to assemble xspawn.asm define LCODE and LDATA as shown below
  4. rem S memory model
  5. rem P memory model  -dLCODE
  6. rem D memory model           -dLDATA
  7. rem L memory model  -dLCODE  -dLDATA
  8.  
  9. lasm -a -dLCODE -dLDATA xspawn.asm
  10.  
  11. rem change the two occurrences of -ml to the appropriate memory model
  12.  
  13. lc -a -cf -g -gh -gv2 -k0 -!L -ml -Oals xspawnl.c xspawnle.c xspawnlp.c xspwnlpe.c xspawnv.c xspawnve.c xspawnvp.c
  14. lc -a -cf -g -gh -gv2 -k0 -!L -ml -Oals xspwnvpe.c xsystem.c
  15.  
  16. rem change the library name to reflect the memory model
  17.  
  18. llib xspawnll c xspawnl xspawnle xspawnlp xspwnlpe xspawnv xspawnve xspawnvp xspwnvpe xsystem xspawn
  19.