6 include ../samd21/Makefile.defs
34 #PROFILE_DEF=-DAO_PROFILE=1
36 #SAMPLE_PROFILE=ao_sample_profile.c \
37 # ao_sample_profile_timer.c
38 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
40 #STACK_GUARD=ao_mpu_stm.c
41 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
59 ao_gps_report_metrum.c \
91 PRODUCT=TeleMetrum-v4.0
92 PRODUCT_DEF=-DTELEMETRUM_V_4_0
95 CFLAGS = $(PRODUCT_DEF) $(SAMD21_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF)
97 PROGNAME=telemetrum-v4.0
98 PROG=$(PROGNAME)-$(VERSION).elf
99 HEX=$(PROGNAME)-$(VERSION).ihx
101 SRC=$(ALTOS_SRC) ao_telemetrum.c
106 $(PROG): Makefile $(OBJ)
107 $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
117 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx $(PROGNAME)-*.map