From 2c57a420432de88b8a6f9ee54642c3841577ad7b Mon Sep 17 00:00:00 2001 From: Giuseppe Lettieri Date: Thu, 4 Apr 2013 15:38:06 +0200 Subject: [PATCH] better dependencies for external links with the previous dependencies the sequence make L/N-E; make clean; make L/N-E (with E an external node) would have not rerun the recipe for node E, even if the port of node N would have changed after the clean. --- planetlab/exp-tool/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planetlab/exp-tool/Makefile b/planetlab/exp-tool/Makefile index 6c0e7a4fc..3ab27090b 100644 --- a/planetlab/exp-tool/Makefile +++ b/planetlab/exp-tool/Makefile @@ -529,14 +529,14 @@ $(foreach host,$(EXTERNAL_HOSTS),cache/bridge.$(host)): ; $(foreach host,$(EXTERNAL_HOSTS),cache/switch.$(host)): ; $(foreach host,$(EXTERNAL_HOSTS),cache/controller.$(host)): ; $(foreach link,$(EXTERNAL_LINKS),cache/iface.$(link)@2): ; -$(foreach link,$(EXTERNAL_LINKS),cache/endpoint.$(link)@2): ; +$(foreach link,$(EXTERNAL_LINKS),cache/port.$(link)@2): ; $(foreach link,$(EXTERNAL_LINKS),del-iface.$(link)@2): ; # we assume that a program called tunproxy is available on the # external nodes. .SECONDEXPANSION: -$(foreach link,$(EXTERNAL_LINKS),cache/port.$(link)@2): cache/port.%@2: cache/port.%@1 cache/host.$$(call leftnode,%) +$(foreach link,$(EXTERNAL_LINKS),cache/endpoint.$(link)@2): cache/endpoint.%@2: cache/port.%@1 cache/host.$$(call leftnode,%) @#echo $* [$<] [$^] $(call rightnode,$*) @echo $(call default,EXTERNAL_PORT,$(call rightnode,$*)) > $@ @echo "===>" $(call rightnode,$*): \ -- 2.43.0