6 include ../stm/Makefile.defs
26 #PROFILE_DEF=-DAO_PROFILE=1
28 #SAMPLE_PROFILE=ao_sample_profile.c \
29 # ao_sample_profile_timer.c
30 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
32 #STACK_GUARD=ao_mpu_stm.c
33 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
64 ao_gps_report_mega.c \
72 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF) -Os -g
75 PROG=$(PROGNAME)-$(VERSION).elf
77 SRC=$(ALTOS_SRC) ao_telegps.c
82 $(PROG): Makefile $(OBJ) altos.ld
83 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
87 ao_product.h: ao-make-product.5c ../Version
88 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
93 rm -f *.o $(PROGNAME)-*.elf