The makefile created by vector autsar performs an incremental build, so it can be built without a clean command.
At this time, when checking whether the build target file has been changed, it seems to be checked through the dep/(source file).c.d file.
So, even if the target source code is modified when performing the target test, the dep/(source file).c.d file does not change, so there may be a problem that the rebuild does not work.
In this case, you need to add a command to delete the c.d files of the source file under test in the batch file.

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.