Skip to content

Commit 1da29ae

Browse files
committed
flow: add missing .PHONY definitions
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent ee778cf commit 1da29ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flow/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ RESULTS_ODB = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.odb)))
824824
RESULTS_DEF = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.def)))
825825
RESULTS_GDS = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.gds)))
826826
RESULTS_OAS = $(notdir $(sort $(wildcard $(RESULTS_DIR)/*.oas)))
827+
.PHONY: $(foreach file,$(RESULTS_DEF) $(RESULTS_GDS) $(RESULTS_OAS),klayout_$(file))
827828
$(foreach file,$(RESULTS_DEF) $(RESULTS_GDS) $(RESULTS_OAS),klayout_$(file)): klayout_%: $(OBJECTS_DIR)/klayout.lyt
828829
$(KLAYOUT_CMD) -nn $(OBJECTS_DIR)/klayout.lyt $(RESULTS_DIR)/$*
829830

@@ -838,9 +839,11 @@ gui_route: gui_5_route.odb
838839
.PHONY: gui_final
839840
gui_final: gui_6_final.odb
840841

842+
.PHONY: $(foreach file,$(RESULTS_DEF),gui_$(file))
841843
$(foreach file,$(RESULTS_DEF),gui_$(file)): gui_%:
842844
DEF_FILE=$(RESULTS_DIR)/$* $(OPENROAD_GUI_CMD) $(SCRIPTS_DIR)/gui.tcl
843845

846+
.PHONY: $(foreach file,$(RESULTS_ODB),gui_$(file))
844847
$(foreach file,$(RESULTS_ODB),gui_$(file)): gui_%:
845848
ODB_FILE=$(RESULTS_DIR)/$* $(OPENROAD_GUI_CMD) $(SCRIPTS_DIR)/gui.tcl
846849

0 commit comments

Comments
 (0)