Update clean target

This commit is contained in:
Takumi Sueda 2021-03-10 00:30:19 +09:00
parent c86acaa09c
commit cf1e7cbbd7

View File

@ -1,13 +1,14 @@
CROSS_COMPILE:=arm-linux-gnueabihf- CROSS_COMPILE:=arm-linux-gnueabihf-
AS:=$(CROSS_COMPILE)as AS:=$(CROSS_COMPILE)as
CC:=$(CROSS_COMPILE)gcc CC:=$(CROSS_COMPILE)gcc
STRIP:=$(CROSS_COMPILE)strip
.PHONY: .PHONY:
all: return.bin mrc.bin c/main.bin all: return.bin mrc.bin c/main.bin
.PHONY: .PHONY:
clean: clean:
@rm -f *.bin spray/*.bin c/*.bin injector/*.bin injector/*.elf @rm -f *.bin spray/*.bin c/*.bin c/*.elf injector/*.bin injector/*.elf
%.bin: %.S %.bin: %.S
@$(AS) $< @$(AS) $<