瀏覽代碼

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.
tags/v0.9.3
Marty Connor 16 年之前
父節點
當前提交
af56768e98
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/Makefile.housekeeping

+ 3
- 0
src/Makefile.housekeeping 查看文件

@@ -356,6 +356,9 @@ $(BIN)/%.tmp : $(BLIB) $(MAKEDEPS) $(LDSCRIPT)
356 356
 		-Map $(BIN)/$*.tmp.map
357 357
 	$(Q)$(OBJDUMP) -ht $@ | $(SORTOBJDUMP) >> $(BIN)/$*.tmp.map
358 358
 
359
+# Keep intermediate object file (useful for debugging)
360
+.PRECIOUS : $(BIN)/%.tmp
361
+
359 362
 # Show a linker map for the specified target
360 363
 #
361 364
 $(BIN)/%.map : $(BIN)/%.tmp

Loading…
取消
儲存