aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/xilinx.mk14
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/xilinx.mk b/contrib/xilinx.mk
index b492a9c..3693e17 100644
--- a/contrib/xilinx.mk
+++ b/contrib/xilinx.mk
@@ -190,16 +190,14 @@ junk += $(project)_err.twr $(project)_err.twx
echo programming_files $(junk) | sed 's, ,\n,g' > .gitignore
tb/simulate_isim.prj: $(tbfiles)
- rm $@
- for f in $(vfiles)
- do
- echo "verilog unenclib ../$(f)" >> $@
+ rm -f $@
+ for f in $(vfiles); do \
+ echo "verilog unenclib ../$$f" >> $@; \
done
- for f in $(tbfiles)
- do
- echo "verilog unenclib ../$(f)" >> $@
+ for f in $(tbfiles); do \
+ echo "verilog unenclib ../$$f" >> $@; \
done
- echo "verilog unenclib ../$(iseenv)/ISE/verilog/src/glbl.v" >> $@
+ echo "verilog unenclib $(iseenv)/ISE/verilog/src/glbl.v" >> $@
tb/isim: tb/simulate_isim.prj
bash -c "$(sim_env); cd ../tb/; vlogcomp -prj simulate_isim.prj"