6 include ../stm/Makefile.defs
36 # Common AltOS sources
41 #PROFILE_DEF=-DAO_PROFILE=1
43 #SAMPLE_PROFILE=ao_sample_profile.c \
44 # ao_sample_profile_timer.c
45 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
47 #STACK_GUARD=ao_mpu_stm.c
48 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
66 ao_gps_report_mega.c \
104 PRODUCT=TeleMega-v2.0
105 PRODUCT_DEF=-DTELEMEGA
108 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF)
110 PROGNAME=telemega-v2.0
111 PROG=$(PROGNAME)-$(VERSION).elf
112 HEX=$(PROGNAME)-$(VERSION).ihx
114 SRC=$(ALTOS_SRC) ao_telemega.c
119 $(PROG): Makefile $(OBJ) altos.ld
120 $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
127 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx