CCSTUDIO-THEIA: system variable specifying the make target

Part Number: CCSTUDIO-THEIA

I have prebuild scripts which modify/generate source code .c/.h files and I call them in the prebuild step configured in the settings of the project.  Currently, my scripts always implement an incremental build of thier outputs based on the dependencies of their inputs.  It would be nice if there were some way to indicate to my scripts (via a system variable I can add as a command parameter to them in the prebuild step) which would indicate if a 'clean' target were being issued to the build so I could know that the scripts should force a build regardless of the output dependencies.

So the question is:  Is there a system variable I just am not seeing that would indicate the requested build type?  Is there an alternative method I can use to indicate what the build type should be to my scripts?

I use the incremental build mode as some of the prebuild step scripts can take a minute or more to complete but it would be nice to be able to force a full build of all scripts when 'rebuild project' is selected.  Any advice in this regard would be greatly appreciated.