2019-04-20 07:59:39 -04:00
|
|
|
|
|
|
|
.ONESHELL:
|
|
|
|
|
|
|
|
verilator/configure:
|
|
|
|
rm -rf verilator*
|
2020-06-07 05:33:24 -04:00
|
|
|
wget https://www.veripool.org/ftp/verilator-4.034.tgz
|
2019-04-20 07:59:39 -04:00
|
|
|
tar xvzf verilator*.t*gz
|
2020-06-07 05:33:24 -04:00
|
|
|
mv verilator-4.034 verilator
|
2019-04-20 07:59:39 -04:00
|
|
|
|
|
|
|
verilator/Makefile: verilator/configure
|
|
|
|
cd verilator
|
|
|
|
./configure
|
|
|
|
|
|
|
|
verilator/bin/verilator_bin: verilator/Makefile
|
|
|
|
cd verilator
|
|
|
|
make -j$(shell nproc)
|
|
|
|
rm -rf src/obj_dbg
|
|
|
|
rm -rf src/obj_opt
|
|
|
|
|
|
|
|
verilator_binary: verilator/bin/verilator_bin
|