6 include ../stm/Makefile.defs
24 #PROFILE_DEF=-DAO_PROFILE=1
26 #SAMPLE_PROFILE=ao_sample_profile.c \
27 # ao_sample_profile_timer.c
28 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
30 #STACK_GUARD=ao_mpu_stm.c
31 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
62 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF)
65 PROG=$(PROGNAME)-$(VERSION).elf
66 HEX=$(PROGNAME)-$(VERSION).ihx
68 SRC=$(ALTOS_SRC) ao_fox1ihu.c
73 $(PROG): Makefile $(OBJ) altos.ld
74 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
78 ao_product.h: ao-make-product.5c ../Version
79 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
84 rm -f *.o $(PROGNAME)-*.elf