From 4e64dd391d4f5e5bdc82587dc49534df051ebee3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 23 May 2021 15:51:13 +0100 Subject: [PATCH] Makefile: Provide EXAMPLE_BUNDLE_FILES Signed-off-by: Ian Jackson --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0d285084..ecd8cbb2 100644 --- a/Makefile +++ b/Makefile @@ -156,8 +156,10 @@ cargo-debug cargo-release cargo-check cargo-doc \ cargo-wasm-debug cargo-wasm-release:: \ cargo-%: stamp/cargo.% -examples: examples/test-bundle.zip -examples: examples/big-bundle.zip +EXAMPLE_BUNDLES = test-bundle big-bundle +EXAMPLE_BUNDLE_FILES = $(foreach f, $(EXAMPLE_BUNDLES), examples/$f.zip) + +examples: $(EXAMPLE_BUNDLE_FILES) .PHONY: examples cargo-wasm: cargo-wasm-release -- 2.30.2