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
68 ao_gps_report_mega.c \
77 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF) -Os -g
80 PROG=$(PROGNAME)-$(VERSION).elf
81 HEX=$(PROGNAME)-$(VERSION).ihx
83 SRC=$(ALTOS_SRC) ao_telegps.c
88 $(PROG): Makefile $(OBJ) altos.ld
89 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
93 ao_product.h: ao-make-product.5c ../Version
94 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
99 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx