@echo off SETLOCAL REM LOCAL IS NEEDED ELSE WE KEEP ADDING TO WINDOW PATH EACH TIME SCRIPT IS CALLED. REM remove automatic created obj folder rd obj /S /Q >nul 2>&1 PATH=%PATH%;C:\Espressif\xtensa-lx106-elf\bin;C:\MinGW\bin;C:\MinGW\msys\1.0\bin;C:\espressif\git-bin;C:\espressif\java-bin;C:\Python27 make -f Makefile %1 %2 %3 %4 %5