1 vpath % ../stm:../product:../drivers:../core:../util:../kalman:../aes:../math:..
2 vpath make-altitude ../util
3 vpath make-kalman ../util
4 vpath kalman.5c ../kalman
5 vpath kalman_filter.5c ../kalman
6 vpath load_csv.5c ../kalman
7 vpath matrix.5c ../kalman
8 vpath ao-make-product.5c ../util
13 objcopy -O ihex $*.elf $@
20 include $(TOPDIR)/Version
22 include $(TOPDIR)/Makedefs
25 LIBS=-lpdclib-cortex-m3 -lgcc
27 AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I..
28 STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
30 LDFLAGS=-L../stm -Wl,-Taltos.ld
35 # The user has explicitly enabled quiet compilation.
37 quiet = @printf " $1 $2 $@\n"; $($1)
39 # Otherwise, print the full command line.
43 $(call quiet,CC) -c $(CFLAGS) -o $@ $<