6 include ../stm/Makefile.defs
27 # Common AltOS sources
31 #PROFILE_DEF=-DAO_PROFILE=1
49 ao_gps_report_mega.c \
79 PRODUCT=MegaMetrum-v0.1
80 PRODUCT_DEF=-DMEGAMETRUM
83 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) -Os -g
85 PROG=megametrum-v0.1-$(VERSION).elf
87 SRC=$(ALTOS_SRC) ao_megametrum.c
92 $(PROG): Makefile $(OBJ)
93 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
95 ../altitude.h: make-altitude
100 ao_product.h: ao-make-product.5c ../Version
101 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@