projects
/
fw
/
altos
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
altos/stm32f4: Add STM32F413 disco board support
[fw/altos]
/
src
/
stm32f4-disco
/
Makefile
1
include ../stm32f4/Makefile-raw.defs
2
3
ALTOS_SRC = \
4
ao_interrupt.c \
5
ao_panic.c \
6
ao_timer.c
7
8
CFLAGS = $(STM32F4_CFLAGS)
9
10
PROG=stm32f4-disco-$(VERSION)
11
ELF=$(PROG).elf
12
IHX=$(PROG).ihx
13
14
SRC=$(ALTOS_SRC) ao_disco.c
15
OBJ=$(SRC:.c=.o)
16
MAP=$(PROG).map
17
18
all: $(ELF) $(IHX)
19
20
$(ELF): Makefile $(OBJ)
21
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJ) -Wl,-M=$(MAP) $(LIBS)
22
23
distclean: clean
24
25
clean:
26
rm -f *.o *.elf *.ihx
27
28
install:
29
30
uninstall: