KirillDeVries

build.bat

Jul 25th, 2012
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. erase *.obj
  2. erase *.exe
  3.  
  4. @set INCLUDE=c:\program files\microsoft visual studio 9.0\vc\include
  5. @set LIB=c:\program files\microsoft visual studio 9.0\vc\lib;c:\program files\microsoft sdks\windows\v6.0a\lib;
  6.  
  7. nasm -f win32 gcdmem.asm --prefix _
  8. cl mainlinemem.c gcdmem.obj
  9.  
  10. nasm -f win32 gcdlocal.asm --prefix _
  11. cl mainlinelocal.c gcdlocal.obj
  12.  
  13. nasm -f win32 gcdargs.asm --prefix _
  14. cl mainlineargs.c gcdargs.obj
  15.  
  16. nasm -f win32 gcd.asm --prefix _
  17. cl mainline.c gcd.obj
RAW Paste Data