6 include ../stmf0/Makefile.defs
8 PUBLISH_DIR=$(HOME)/altusmetrumllc/Binaries
9 PUBLISH_HEX=$(PUBLISH_DIR)/$(HEX)
58 PRODUCT=MicroPeak-v2.0
59 PRODUCT_DEF=-DMICROPEAK
61 CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) -g -Os
63 PROGNAME=micropeak-v2.0
64 PROG=$(PROGNAME)-$(VERSION).elf
65 HEX=$(PROGNAME)-$(VERSION).ihx
72 LDFLAGS=$(CFLAGS) -L$(TOPDIR)/stmf0 -Wl,-Tmicropeak.ld -n
74 $(PROG): Makefile $(OBJ) micropeak.ld
75 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
77 ao_product.h: ao-make-product.5c ../Version
78 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
80 ao_product.o: ao_product.c ao_product.h
88 publish: $(PUBLISH_HEX)
90 $(PUBLISH_HEX): $(HEX)
93 ../altitude-pa.h: make-altitude-pa
100 $(OBJ): ao_product.h $(INC)