How about Clean and Build?
Is it re-compile all?
...or do a right-click on the file in the workspace explorer and select "Compile"
Of course, I can manually force the compilation of the particular file. But that is a manual act, and if it is forgotten (there are several developers) then the resulting image might be unusable. (I cannot explain why that is).
Then use a script to force compile/linker options, and distribute that
to the development team. That way the hex file productuion will always
come from the same directives.
See applicable compiler/linker manual to write the script.
How was the macro value changed? If you change one of the files, it should re-compile the change file when you build the project. Do you meam that you want to re-build automactially after chaning a file?
He said ...
there is a DATE macro in file1
when change the file1 that is show correct date
but change file except file1 the build is not show updated date.
that is no help
I wonder handy way but can't find good clue.
I may have miss something here. If there is not change in the macro, changing other files would not re-compile the file with the macro, that I understand.
But there is no change to the value of the macro. so what is the problem?
Ok, I see, the DATE macro is the current data of the system. He want this to be included in the files that was last change.
I think ...
If I can change and add to MAKEFILE easily,
Compile the file have DATE macro, unconditionally
But I don know how to modify it.