# echo "Run pcb-rnd and import $(PROJECT).tdx"
define pcb_drc
- echo "Atomic(Save); DeleteRats(AllRats); Atomic(Restore); AddRats(AllRats); Atomic(Close)" | pcb-rnd --gui batch $(PROJECT).lht | grep "The layout is complete and has no shorted nets."
+ echo "Atomic(Save); DeleteRats(AllRats); Atomic(Restore); AddRats(AllRats); Atomic(Close)" | pcb-rnd --gui batch -c plugins/mincut/enable=0 $(PROJECT).lht | grep "The layout is complete and has no shorted nets."
# not obvious what to look for in DRC() output to indicate 'all ok', so don't try
echo "DRC()" | pcb-rnd --gui batch $(PROJECT).lht
endef