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 $(ELFTOHEX) --output=$@ $*.elf
20 include $(TOPDIR)/Version
22 include $(TOPDIR)/Makedefs
25 LIBS=$(PDCLIB_LIBS_M3) -lgcc
27 AO_CFLAGS=-I. -I../stm -I../core -I../drivers -I../math -I.. $(PDCLIB_INCLUDES)
28 STM_CFLAGS=-std=gnu99 -mlittle-endian -mcpu=cortex-m3 -mthumb -ffreestanding -nostdlib $(AO_CFLAGS)
30 LDFLAGS=-L../stm -Wl,-Taltos.ld
33 ELFTOHEX=$(TOPDIR)/../ao-tools/ao-elftohex/ao-elftohex
36 # The user has explicitly enabled quiet compilation.
38 quiet = @printf " $1 $2 $@\n"; $($1)
40 # Otherwise, print the full command line.
44 $(call quiet,CC) -c $(CFLAGS) -o $@ $<