home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_03_06 / 3n06062b < prev    next >
Text File  |  1992-04-08  |  907b  |  31 lines

  1. #-------------------------------------------------------------------------
  2. # This makefile builds the device driver BOOT.SYS and the TSR TSRBOOT.COM
  3. #
  4. # I use Borland's Turbo Assembler and Turbo Linker.  If you've got some
  5. # other language products you may need to tweak the makefile a bit.
  6. # I'm running DR-DOS 6.0 on my development system and they've provided
  7. # EXE2BIN with DR-DOS.
  8. #-------------------------------------------------------------------------
  9.  
  10. # Use these for Microsoft stuff
  11. #ASM = MASM
  12. #LNK = LINK
  13.  
  14. # Use these for Borland stuff
  15. ASM = TASM
  16. LNK = TLINK
  17.  
  18. all : boot.sys tsrboot.com
  19.  
  20. boot.sys : boot.asm
  21.         $(ASM) boot;
  22.         $(LNK) boot,boot,nul;
  23.         exe2bin boot.exe boot.sys
  24.         del boot.exe
  25.  
  26. tsrboot.com : tsrboot.asm
  27.         $(ASM) tsrboot;
  28.         $(LNK) tsrboot,tsrboot,nul;
  29.         exe2bin tsrboot.exe tsrboot.com
  30.         del tsrboot.exe
  31.