Add transactional vise db ability #11
| @ -4,8 +4,8 @@ TXTS = $(wildcard ./*.txt.orig) | |||||||
| VISE_PATH := ../../go-vise | VISE_PATH := ../../go-vise | ||||||
| 
 | 
 | ||||||
| # Rule to build .bin files from .vis files
 | # Rule to build .bin files from .vis files
 | ||||||
| %.vis: | %.vis: buildasm | ||||||
| 	go run  $(VISE_PATH)/dev/asm/main.go -f pp.csv $(basename $@).vis > $(basename $@).bin | 	./vise-asm -f pp.csv $(basename $@).vis > $(basename $@).bin | ||||||
| 	@echo "Built $(basename $@).bin from $(basename $@).vis" | 	@echo "Built $(basename $@).bin from $(basename $@).vis" | ||||||
| 
 | 
 | ||||||
| # Rule to copy .orig files to .txt
 | # Rule to copy .orig files to .txt
 | ||||||
| @ -19,5 +19,10 @@ all: $(INPUTS) $(TXTS) | |||||||
| 
 | 
 | ||||||
| clean:  | clean:  | ||||||
| 	rm -vf *.bin | 	rm -vf *.bin | ||||||
|  | 	rm -vf ./vise-asm | ||||||
|  | 
 | ||||||
|  | buildasm: | ||||||
|  | 	go build -v -o ./vise-asm $(VISE_PATH)/dev/asm/main.go | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| .PHONY: clean | .PHONY: clean | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user