6 include ../stmf0/Makefile.defs
20 # Common AltOS sources
41 PRODUCT=ChaosKey-hw-0.3-sw-$(VERSION)
42 PRODUCT_DEF=-DCHAOSKEY_V_0_1
46 CFLAGS = $(PRODUCT_DEF) $(STMF0_CFLAGS) -g -Os
48 PROGNAME=chaoskey-v0.1
49 PROG=$(PROGNAME)-$(VERSION).elf
50 HEX=$(PROGNAME)-$(VERSION).ihx
52 SRC=$(ALTOS_SRC) ao_chaoskey.c
57 $(PROG): Makefile $(OBJ) altos.ld
58 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
60 ao_product.h: ao-make-product.5c ../Version
61 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -V $(IDVENDOR) -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) -o $@
68 rm -f *.o $(PROGNAME)-*.elf $(PROGNAME)-*.ihx