# file="/var/www/abrownExtra/public_html/first/training/Logic/counter/Makefile"
# Allen Brown date="20080604 20:47:44"
TESTS = first_counter_tb count_updn_en_tb
default: $(TESTS)
$(TESTS): %_tb: %_tb.v %.v
iverilog -o $(@) $(@).v $(patsubst %_tb,%.v,$(@))
./$(@) | diff $(@).ref -