5 vpath %.c ..:../kernel:../cc1111:../drivers:../product
6 vpath %.h ..:../kernel:../cc1111:../drivers:../product
7 vpath ao-make-product.5c ../util
57 PROG = $(PROGNAME)-$(VERSION).ihx
59 PRODUCT_DEF=-DTIDONGLE
62 include ../cc1111/Makefile.cc1111
65 CHECK_STACK=sh ../util/check-stack
68 # The user has explicitly enabled quiet compilation.
70 quiet = @printf " $1 $2 $@\n"; $($1)
72 # Otherwise, print the full command line.
77 $(PROG): $(REL) Makefile
78 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL)
79 $(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@
81 ao_product.h: ao-make-product.5c ../Version
82 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@