lab/x1/Makefile

11 lines
151 B
Makefile

CROSS_COMPILE:=arm-linux-gnueabi-
AS:=$(CROSS_COMPILE)as
.PHONY:
all: return.bin mrc.bin
%.bin: %.S
@$(AS) $<
@./extract.py a.out $@
@rm -f a.out