From 67de69f9fa3ddea61101b5949c88ad60096cdc35 Mon Sep 17 00:00:00 2001 Message-Id: <67de69f9fa3ddea61101b5949c88ad60096cdc35.1717473409.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 28 Apr 2024 12:14:11 +0100 Subject: [PATCH] Makefile: Allow command-line setting of `zone' options. Organization: Straylight/Edgeware From: Mark Wooding The new timeout options are particularly useful here. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7afee8a..6c45ff8 100644 --- a/Makefile +++ b/Makefile @@ -104,6 +104,7 @@ odin_all_ZONES = odin.gg ZONE = zone V_ZONE = $(call v_tag,ZONE)$(ZONE) +ZONEOPTS = .SECONDEXPANSION: #sorry @@ -115,7 +116,7 @@ $(ALL_ZONESTAMPS) : %.zonestamp : $$(notdir $$*).lisp hosts.lisp $(V_AT)mkdir -p $(dir $*) $(V_ZONE) -d$(dir $*) -fview/$(call dir-nosl,$*)$(hack \ hack) $(addprefix -s, \ - $($(notdir $*)_$(call dir-nosl,$*)_NETS)) $< + $($(notdir $*)_$(call dir-nosl,$*)_NETS)) $(ZONEOPTS) $< $(V_AT)touch $@ all: $(ALL_ZONESTAMPS) CLEANFILES += $(sort $(foreach s,$(ZONESETS), \ -- [mdw]