~ruther/vhdl-spi

ref: 49b3eac9e09ba161c745ba969ac071678f4f1690 vhdl-spi/Makefile -rw-r--r-- 440 bytes
49b3eac9 — František Boháček feat: shift data when storing piso sr right away 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: reload list

WAVEFORM_VIEWER = gtkwave

reload:
	@gsettings set com.geda.gtkwave reload 1
	@gsettings set com.geda.gtkwave reload 0

list:
	@python -m run.py -l

run:
	python -m run.py

%.run:
	python -m run.py --exit-0 --gtkwave-fmt ghw $(basename $@)

%.open: %.run
	make reload
	pgrep $(WAVEFORM_VIEWER) || $(WAVEFORM_VIEWER) $(shell find vunit_out/test_output/$(basename $@)* -maxdepth 0 -type d)/ghdl/wave.ghw &

%.all: %.open