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