TEST = led-test short-test uart-test fmc-test fmc-perf fmc-probe all: $(TEST:=.elf) %.elf: %.o $(BOARD_OBJS) $(LIBS) $(CC) $(CFLAGS) $^ -o $@ -T$(LDSCRIPT) -g -Wl,-Map=$*.map $(OBJCOPY) -O ihex $*.elf $*.hex $(OBJCOPY) -O binary $*.elf $*.bin $(OBJDUMP) -St $*.elf >$*.lst $(SIZE) $*.elf clean: rm -f *.o rm -f *.elf rm -f *.hex rm -f *.bin rm -f *.map rm -f *.lst ' title='sw/stm32 Git repository'/>
aboutsummaryrefslogtreecommitdiff
path: root/projects/libhal-test/Makefile
blob: f58f480b116fe63dbe77086f49b1f280774419c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27