6 include ../samd21/Makefile.defs
37 #PROFILE_DEF=-DAO_PROFILE=1
39 #SAMPLE_PROFILE=ao_sample_profile.c \
40 # ao_sample_profile_timer.c
41 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
43 #STACK_GUARD=ao_mpu_stm.c
44 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
62 ao_gps_report_metrum.c \
97 PRODUCT=TeleMetrum-v4.0
98 PRODUCT_DEF=-DTELEMETRUM_V_4_0
101 CFLAGS = $(PRODUCT_DEF) $(SAMD21_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF)
104 PROGNAME=telemetrum-v4.0
105 PROG=$(PROGNAME)-$(VERSION).elf
106 HEX=$(PROGNAME)-$(VERSION).ihx
108 SRC=$(ALTOS_SRC) ao_telemetrum.c
113 $(PROG): Makefile $(OBJ) altos.ld
114 $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
124 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx $(PROGNAME)-*.map