srdl2sv/examples/parameters/Makefile

12 lines
243 B
Makefile
Raw Normal View History

2021-11-05 06:33:06 +00:00
RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
.PHONY: clean
default: $(RTL_TARGETS)
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
clean:
rm -rf srdl2sv_out