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 \
105 PRODUCT=TeleMega-v1.0
106 PRODUCT_DEF=-DTELEMEGA
109 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF)
111 PROGNAME=telemega-v1.0
112 PROG=$(PROGNAME)-$(VERSION).elf
113 HEX=$(PROGNAME)-$(VERSION).ihx
115 SRC=$(ALTOS_SRC) ao_telemega.c
120 $(PROG): Makefile $(OBJ) altos.ld
121 $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
128 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx $(PROGNAME)-*.map