5 include ../stm/Makefile.defs
21 # Common AltOS sources
25 #PROFILE_DEF=-DAO_PROFILE=1
62 PRODUCT=TeleFireOne-v1.0
63 PRODUCT_DEF=-DTELEFIREONE_V_1_0
66 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF)
68 PROGNAME = telefireone-v1.0
69 PROG = $(PROGNAME)-$(VERSION).elf
70 HEX = $(PROGNAME)-$(VERSION).ihx
72 SRC = $(ALTOS_SRC) $(PRODUCT_SRC)
77 $(PROG): Makefile $(OBJ) altos.ld
78 $(call quiet,CC) $(LDFLAGS) -o $(PROG) $(OBJ) $(LIBS)
85 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx $(PROGNAME)-*.map
93 echo $(PROG) $(VERSION)