8 vpath %.c ..:../kernel:../cc1111:../drivers:../product
9 vpath %.h ..:../kernel:../cc1111:../drivers:../product
10 vpath ao-make-product.5c ../util
67 PROGNAME = telefire-v$(TELEFIRE_VER)
68 PROG = $(PROGNAME)-$(VERSION).ihx
69 PRODUCT=TeleFire-v$(TELEFIRE_VER)
70 PRODUCT_DEF=-DTELEFIRE_V_$(TELEFIRE_DEF)
74 include ../cc1111/Makefile.cc1111
77 CHECK_STACK=sh ../util/check-stack
80 # The user has explicitly enabled quiet compilation.
82 quiet = @printf " $1 $2 $@\n"; $($1)
84 # Otherwise, print the full command line.
89 $(PROG): $(REL) Makefile
90 $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL)
91 $(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@
93 ao_product.h: ao-make-product.5c ../Version
94 $(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@