@echo off

echo BUILD MC DEBUG

set OPT= -DEP2 -DDEBUG
set KEY= --directory=bin_debug --makefile=../Makefile --include-dir=../../Makefiles --silent

make C_FLAGS="%OPT%" %KEY%  source_dirs=". common"
rem program_name=mc.elf

if ERRORLEVEL 1 (
	pause
)
del bin_debug\*.o bin_debug\*.d  bin_debug\*tmp.elf
exit