compile-win.bat 884 B

12345678910111213141516171819202122232425
  1. @echo off
  2. echo ************************************************************
  3. echo ************************************************************
  4. echo INFO: If make.exe, avr-gcc.exe or other tools are not found,
  5. echo please make sure the AVR GCC toolchain is in your PATH
  6. echo environment variable.
  7. echo ************************************************************
  8. echo ************************************************************
  9. rem Some bad guesses for toolchain paths...
  10. set "PATH=%PATH%;%PROGRAMFILES%\Atmel\AVR Tools\AVR Toolchain\bin"
  11. set "PATH=%PATH%;%PROGRAMFILES%\Atmel\Atmel Studio 6.1\shellUtils"
  12. set "PATH=%PATH%;%PROGRAMFILES%\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.1002\avr8-gnu-toolchain\bin"
  13. echo Cleaning source tree...
  14. make.exe distclean V=1 BINEXT=.exe NODEPS=1
  15. echo Compiling...
  16. make.exe V=1 BINEXT=.exe NODEPS=1
  17. pause