Checked against Code::Blocks SVN version 9958 which is the version I am using for an custom CB project.
This area seems to have not changed in SVN trunk.
Project -> Build Options
Select Target or Project in left hand list (You likely want target 3dsx) Edit: Add name of target from OP error
Tab: "Make Commands"
Likely need to change "Ask if rebuild is needed" Edit: Correction this seems to be the wrong command to edit.
From
$make -q -f $makefile $target
to
Tim S.