From 8ae3372c36faca76863d0ad583458d4e20f5e2bc Mon Sep 17 00:00:00 2001 From: lash Date: Sat, 14 Sep 2024 21:34:11 +0100 Subject: [PATCH] Allow setting go-vise path for asm executable in makefile --- services/registration/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/registration/Makefile b/services/registration/Makefile index af8b8c1..d5950b5 100644 --- a/services/registration/Makefile +++ b/services/registration/Makefile @@ -1,10 +1,11 @@ # Variables to match files in the current directory INPUTS = $(wildcard ./*.vis) TXTS = $(wildcard ./*.txt.orig) +VISE_PATH := ../../go-vise # Rule to build .bin files from .vis files %.vis: - go run ../../go-vise/dev/asm/main.go -f pp.csv $(basename $@).vis > $(basename $@).bin + go run $(VISE_PATH)/dev/asm/main.go -f pp.csv $(basename $@).vis > $(basename $@).bin @echo "Built $(basename $@).bin from $(basename $@).vis" # Rule to copy .orig files to .txt -- 2.45.2