浏览代码

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 17 年前
父节点
当前提交
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

正在加载...
取消
保存