From: Keith Packard Date: Sat, 27 Feb 2010 23:10:16 +0000 (-0800) Subject: Leave .ihx files in the build directory too - easier to debug that way X-Git-Tag: debian/0.6+106+ga1478f6~5 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f1956ebadd7bf46b84a05a0c383b6404ca26b344;hp=461d4a1948e112ec7353caf88967391d876469dd;p=fw%2Faltos Leave .ihx files in the build directory too - easier to debug that way sdcdb wants the .ihx and .cdb files in the same directory, so humor it by copying the .ihx files to the src directory instead of moving them. Signed-off-by: Keith Packard --- diff --git a/src/Makefile.proto b/src/Makefile.proto index 6cb6e0de..106333a6 100644 --- a/src/Makefile.proto +++ b/src/Makefile.proto @@ -207,7 +207,7 @@ quiet ?= $($1) all: ../$(PROG) ../$(PROG): $(REL) Makefile Makefile.defs ../Makefile.proto - $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && mv $(PROG) $(PMAP) .. + $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && cp $(PROG) $(PMAP) .. $(call quiet,CHECK_STACK) ../ao.h $(PMEM) ../altitude.h: make-altitude