6 include ../stm/Makefile.defs
21 #PROFILE_DEF=-DAO_PROFILE=1
23 #SAMPLE_PROFILE=ao_sample_profile.c \
24 # ao_sample_profile_timer.c
25 #SAMPLE_PROFILE_DEF=-DHAS_SAMPLE_PROFILE=1
27 #STACK_GUARD=ao_mpu_stm.c
28 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
53 ao_log_telescience.c \
56 PRODUCT=TeleScience-v0.2
57 PRODUCT_DEF=-DTELESCIENCE
60 CFLAGS = $(PRODUCT_DEF) $(STM_CFLAGS) $(PROFILE_DEF) $(SAMPLE_PROFILE_DEF) $(STACK_GUARD_DEF) -Os -g
62 PROGNAME=telescience-v0.2
63 PROG=$(PROGNAME)-$(VERSION).elf
65 SRC=$(ALTOS_SRC) ao_telescience.c
70 $(PROG): Makefile $(OBJ) altos.ld
71 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
75 ao_product.h: ao-make-product.5c ../Version
76 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
81 rm -f *.o $(PROGNAME)-*.elf