6 include ../stm/Makefile.defs
22 #PROFILE_DEF=-DAO_PROFILE=1
24 #SAMPLE_PROFILE=ao_sample_profile.c \
25 # ao_sample_profile_timer.c
26 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
28 #STACK_GUARD=ao_mpu_stm.c
29 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
64 PRODUCT_DEF=-DTELEBT_V_3_0
67 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF) -Os -g
70 PROG=$(PROGNAME)-$(VERSION).elf
71 HEX=$(PROGNAME)-$(VERSION).ihx
73 SRC=$(ALTOS_SRC) ao_telebt.c
78 $(PROG): Makefile $(OBJ) altos.ld
79 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
83 ao_product.h: ao-make-product.5c ../Version
84 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
89 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx