projects
/
fw
/
openocd
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b240f53d4452e15286a8a8766a21ff51fa894777
[fw/openocd]
/
contrib
/
loaders
/
flash
/
kinetis
/
Makefile
1
BIN2C = ../../../../src/helper/bin2char.sh
2
3
CROSS_COMPILE ?= arm-none-eabi-
4
AS = $(CROSS_COMPILE)as
5
OBJCOPY = $(CROSS_COMPILE)objcopy
6
7
all: kinetis_flash.inc
8
9
%.elf: %.s
10
$(AS) $< -o $@
11
12
%.bin: %.elf
13
$(OBJCOPY) -Obinary $< $@
14
15
%.inc: %.bin
16
$(BIN2C) < $< > $@
17
18
clean:
19
-rm -f *.elf *.bin *.inc