ao-load uses the .map files to rewrite the serial number and other
config parameters into the program flash.
Signed-off-by: Keith Packard <keithp@keithp.com>
all: ../$(PROG)
../$(PROG): $(REL) Makefile Makefile.defs ../Makefile.proto
- $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && mv $(PROG) ..
- $(call quiet,CHECK_STACK) ../ao.h $(@F:.ihx=.mem)
+ $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && mv $(PROG) $(PMAP) ..
+ $(call quiet,CHECK_STACK) ../ao.h $(PMEM)
../altitude.h: make-altitude
nickle $< > $@