From: Marty Connor Date: Fri, 28 Dec 2007 19:33:11 +0000 (-0500) Subject: Retain some intermediate object files, suggested by Geert Stappers and Alexey Zaytsev. X-Git-Tag: v0.9.3~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af56768e98559ef0766e51c8e7a9eca1567720a9;p=thirdparty%2Fipxe.git Retain some intermediate object files, suggested by Geert Stappers and Alexey Zaytsev. src/bin/%.tmp files can be useful for debugging, so let's keep them. --- diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 1e97ee625..a5bb9a4ba 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -356,6 +356,9 @@ $(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT) -Map $(BIN)/$*.tmp.map $(Q)$(OBJDUMP) -ht $@ | $(SORTOBJDUMP) >> $(BIN)/$*.tmp.map +# Keep intermediate object file (useful for debugging) +.PRECIOUS : $(BIN)/%.tmp + # Show a linker map for the specified target # $(BIN)/%.map : $(BIN)/%.tmp