Leave .ihx files in the build directory too - easier to debug that way
authorKeith Packard <keithp@keithp.com>
Sat, 27 Feb 2010 23:10:16 +0000 (15:10 -0800)
committerKeith Packard <keithp@keithp.com>
Sat, 27 Feb 2010 23:10:16 +0000 (15:10 -0800)
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 <keithp@keithp.com>
src/Makefile.proto

index 6cb6e0de3e5599bdd754de7dd1b9ed6f0a991893..106333a677fd68bb29f41fddb219d309c5603ae3 100644 (file)
@@ -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