From 59b14b294a0b27edc4408cca1b2b81e9ded8d50d Mon Sep 17 00:00:00 2001 From: David Gibson Date: Tue, 12 May 2026 15:52:46 +1000 Subject: Makefile: Make conditional definition of $(BIN) clearer The list of binaries is dependent on the target architecture, because x86_64 adds the passt.avx2 and pasta.avx2 binaries. Make this more obvious by defining BIN in common, then augmenting it in the x86_64 case. Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 48c5fb6..d489a86 100644 --- a/Makefile +++ b/Makefile @@ -76,10 +76,9 @@ docdir ?= $(datarootdir)/doc/passt mandir ?= $(datarootdir)/man man1dir ?= $(mandir)/man1 -ifeq ($(TARGET_ARCH),x86_64) -BIN := passt passt.avx2 pasta pasta.avx2 qrap passt-repair pesto -else BIN := passt pasta qrap passt-repair pesto +ifeq ($(TARGET_ARCH),x86_64) +BIN += passt.avx2 pasta.avx2 endif all: $(BIN) $(MANPAGES) docs -- cgit v1.2.3