@echo off

ld -L%mc%\lib -T%mc%\ldfiles\robi-ram.ld -o cube.I LCD.o Behavior.o PSDs.o ImageFilter.o Camera.o Keyboard.o Thread.o UI.o Starter.o Commander.o Drive.o Explorer.o Pusher.o Avoider.o Communicator.o Compass.o Timer.o Radio.o CubeClustering.o SIR.o Broadcaster.o -lmym -lmyc -lmygcc -lrobi

objcopy -O srec cube.I cube.hex

srec2bin cube.hex >NUL

@echo on
