projects
/
fw
/
altos
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
altos/stm32f4-disco: Add .gitignore
[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
ao_led.c \
8
ao_task.c \
9
ao_stdio.c
10
11
CFLAGS = $(STM32F4_CFLAGS)
12
13
PROG=stm32f4-disco-$(VERSION)
14
ELF=$(PROG).elf
15
IHX=$(PROG).ihx
16
17
SRC=$(ALTOS_SRC) ao_disco.c
18
OBJ=$(SRC:.c=.o)
19
MAP=$(PROG).map
20
21
all: $(ELF) $(IHX)
22
23
$(ELF): Makefile $(OBJ)
24
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJ) -Wl,-M=$(MAP) $(LIBS)
25
26
distclean: clean
27
28
clean:
29
rm -f *.o *.elf *.ihx
30
31
install:
32
33
uninstall: