home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Hutch / DOWNLOAD / Example2.exe / SMC / SMC.ZIP / BUILD.BAT next >
Encoding:
DOS Batch File  |  1999-05-28  |  551 b   |  36 lines

  1. @echo off
  2.  
  3. if exist smc.obj del smc.obj
  4. if exist smc.exe del smc.exe
  5.  
  6. \masm32\bin\ml /c /coff smc.asm
  7. if errorlevel 1 goto errasm
  8.  
  9. if not exist rsrc.obj goto nores
  10.  
  11. \masm32\bin\Link /SUBSYSTEM:WINDOWS /section:.text,RWE smc.obj rsrc.obj
  12. if errorlevel 1 goto errlink
  13.  
  14. dir smc
  15. goto TheEnd
  16.  
  17. :nores
  18. \masm32\bin\Link /SUBSYSTEM:WINDOWS /section:.text,RWE smc.obj
  19. if errorlevel 1 goto errlink
  20. dir smc
  21. goto TheEnd
  22.  
  23. :errlink
  24. echo _
  25. echo Link error
  26. goto TheEnd
  27.  
  28. :errasm
  29. echo _
  30. echo Assembly Error
  31. goto TheEnd
  32.  
  33. :TheEnd
  34.  
  35. pause
  36.