We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e1f78 commit 4704c7cCopy full SHA for 4704c7c
flow/Makefile
@@ -481,6 +481,15 @@ do-$(1):
481
($(TIME_CMD) $(OPENROAD_CMD) $(SCRIPTS_DIR)/$(3).tcl -metrics $(LOG_DIR)/$(1).json) 2>&1 | tee $(LOG_DIR)/$(1).log
482
endef
483
484
+# generate make rules to copy a file, if a dependency change and
485
+# a do- sibling rule that copies the file unconditionally.
486
+#
487
+# The file is copied within the $(RESULTS_DIR)
488
489
+# $(1) stem of target, e.g. 2_2_floorplan_io
490
+# $(2) basename of file to be copied
491
+# $(3) further dependencies
492
+# $(4) target extension, default .odb
493
define do-copy
494
$(RESULTS_DIR)/$(1)$(if $(4),$(4),.odb): $(RESULTS_DIR)/$(2) $(3)
495
$$(UNSET_AND_MAKE) do-$(1)$(if $(4),$(4),)
0 commit comments