6 include ../stm/Makefile.defs
26 # Common AltOS sources
70 PRODUCT=MegaMetrum-v0.1
71 PRODUCT_DEF=-DMEGAMETRUM
74 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) -Os -g
76 PROG=megametrum-v0.1-$(VERSION).elf
78 SRC=$(ALTOS_SRC) ao_megametrum.c
83 $(PROG): Makefile $(OBJ)
84 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(SAT_CLIB) -lgcc
86 ../altitude.h: make-altitude
91 ao_product.h: ao-make-product.5c ../Version
92 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@