Code::Blocks Forums

User forums => Help => Topic started by: jeorama on May 06, 2009, 01:06:35 pm

Title: is there any macro instead of string "obj\release\" ?
Post by: jeorama on May 06, 2009, 01:06:35 pm
I now use "arm-elf-objcopy  -O binary  bin\Release\test.elf  bin\Release\test.bin"  and I try "arm-elf-objcopy  -O binary  bin\$target\test.elf  bin\$target\test.bin" but failed. or there is no way to use a macro just defined in both debug and release? thanks
Title: Re: is there any macro instead of string "obj\release\" ?
Post by: thomas on May 06, 2009, 02:40:16 pm
$(TARGET_NAME) (http://wiki.codeblocks.org/index.php?title=Variable_expansion#Build_targets)  (or instead, use the target output directory).