AS=mb-as
LD=mb-ld
OFILES=xmdstub.o

xmdstub:
	$(AS) -o xmdstub.o xmdstubaddr.s xmdstub.s
	$(LD) -relax -defsym _STACK_SIZE=0 -o xmdstub.elf xmdstub.o
	make -f make.xmdstub clean

clean:
	rm -rf ${OFILES}
