Hello Code::blocks community.
I am using custom command build to generate assembler file before object file.
The commands are follow :
ch38 -cpu=2600a:24 -regparam=3 -include="$HEW_DIR\include","..\..\SCOTTC","..\..\SCOTTC\HITACHI","..\..\SCOTTC\HITACHI\ACQ","..\..\SCOTTC\HITACHI\BOO","..\..\SCOTTC\HITACHI\CAN","..\..\SCOTTC\HITACHI\CIP","..\..\SCOTTC\HITACHI\MDB","..\..\SCOTTC\HITACHI\RES","..\..\SCOTTC\HITACHI\SEP","..\..\SCOTTC\HITACHI\SYS","..\..\SCOTTC\HITACHI\Hitachi\serie" -message -code=asmcode -object=$(TARGET_OBJECT_DIR)SCOTTC\HITACHI\CIP\$file_name.src -show=nostatistics,tab=4 -speed=register,switch,shift,struct,expression,loop=2,inline=105 -byteenum $file -lang=c -nologo -nolist
asm38 -cpu=2600a:24 -include="$HEW_DIR\include","..\..\SCOTTC","..\..\SCOTTC\HITACHI","..\..\SCOTTC\HITACHI\ACQ","..\..\SCOTTC\HITACHI\BOO","..\..\SCOTTC\HITACHI\CAN","..\..\SCOTTC\HITACHI\CIP","..\..\SCOTTC\HITACHI\MDB","..\..\SCOTTC\HITACHI\RES","..\..\SCOTTC\HITACHI\SEP","..\..\SCOTTC\HITACHI\SYS","..\..\SCOTTC\HITACHI\Hitachi\serie" -nodebug -goptimize -object=$object $(TARGET_OBJECT_DIR)SCOTTC\HITACHI\CIP\$file_name.src -errorpath -nologo -nolist
But when I launch the build of this file I have an error. I have to launch again to generate the expected object file.
Is there a mean to put a script between the two command build file which waiting the .src file generate by the 1st command before executing the 2nd command ?
Best regards for all.
Bruno