mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-21 22:48:41 +00:00
Update example's Makefile to always rebuild if srdl2sv updates
This commit is contained in:
parent
95b9a5a46a
commit
9be761b53d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user