Add embedded target

This is the patch we're discussing at http://forums.codeblocks.org/index.php/topic,19294.msg131880.html#msg131880