Merge pull request 'Allow setting go-vise path for asm executable in makefile' (#57) from lash/vise-make-var into master

Reviewed-on: urdt/ussd#57
This commit is contained in:
lash 2024-09-16 15:49:58 +02:00
commit 68de83af97

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