I recently started using ST-LINK and here’s what I did.
cd into the folder that’s created after you ran that line.
I’m guessing a new folder called “examples/Paul/delay2” was created in the pd2dsy folder.
So in the terminal…
cd examples/Paul/delay2
and then
make program
It’s a bit of a hassle when you make changes in a patcher and want to overwrite that folder.
You need to cd - to go back to pd2dsy and rinse and repeat. That said, it sure beats pressing those tiny buttons tho.