Allow setting go-vise path for asm executable in makefile

This commit is contained in:
lash 2024-09-14 21:34:11 +01:00
parent 3a7c3ffc67
commit 8ae3372c36
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -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