Thanks Jens, did as you suggested. So now (under Build Targets) I have set execution working dir to "../bin". But when I press F9, it now tries to find ".../prog/test/exec" instead of ".../prog/bin/exec". So I am almost there.
The make commands I still have to fix, I admit. But I guess these two problems are independent of each other.
Thanks in advance, much appreciated.