Update example's Makefile to always rebuild if srdl2sv updates

This commit is contained in:
Dennis Potter 2021-11-02 23:20:35 -07:00
parent 95b9a5a46a
commit 9be761b53d
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF
4 changed files with 8 additions and 8 deletions

View File

@ -4,8 +4,8 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
default: $(RTL_TARGETS)
srdl2sv_out/%.sv: %.rdl
srdl2sv $? --out-dir $(shell dirname $@) --stdout-logging INFO
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
clean:
rm -rf srdl2sv_out

View File

@ -4,8 +4,8 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
default: $(RTL_TARGETS)
srdl2sv_out/%.sv: %.rdl
srdl2sv $? --out-dir $(shell dirname $@) --stdout-logging INFO
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
clean:
rm -rf srdl2sv_out

View File

@ -4,8 +4,8 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
default: $(RTL_TARGETS)
srdl2sv_out/%.sv: %.rdl
srdl2sv $? --out-dir $(shell dirname $@) --stdout-logging INFO
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
clean:
rm -rf srdl2sv_out

View File

@ -4,8 +4,8 @@ RTL_TARGETS = $(subst .rdl,.sv,srdl2sv_out/$(shell ls *.rdl))
default: $(RTL_TARGETS)
srdl2sv_out/%.sv: %.rdl
srdl2sv $? --out-dir $(shell dirname $@) --stdout-logging INFO
srdl2sv_out/%.sv: %.rdl $(shell which srdl2sv)
srdl2sv $< --out-dir $(shell dirname $@) --stdout-logging INFO
clean:
rm -rf srdl2sv_out