projects
/
fw
/
openocd
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8f3f9242e457acc69c7e54bf43f517a229a68e2f
[fw/openocd]
/
contrib
/
loaders
/
flash
/
max32xxx
/
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: max32xxx.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