~ruther/vhdl-spi

ref: 85f97d0167f3a30cad8eddd2d89dd634b5343169 vhdl-spi/Makefile -rw-r--r-- 440 bytes
85f97d01 — František Boháček feat: simplify spi_transmit, send data without delay 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