mirror of
https://github.com/brain-hackers/boot4u
synced 2024-12-22 20:20:05 +09:00
16 lines
254 B
Makefile
16 lines
254 B
Makefile
|
CROSS_COMPILE:=arm-linux-gnueabihf-
|
||
|
AS:=$(CROSS_COMPILE)as
|
||
|
CC:=$(CROSS_COMPILE)gcc
|
||
|
STRIP:=$(CROSS_COMPILE)strip
|
||
|
|
||
|
.PHONY:
|
||
|
all: AppMain.bin
|
||
|
|
||
|
.PHONY:
|
||
|
clean:
|
||
|
@rm -f *.bin *.elf
|
||
|
|
||
|
AppMain.bin:
|
||
|
@$(AS) main.S -o main.elf
|
||
|
@./extract.py -p main.elf AppMain.bin
|