To your existing project add a managed make build configuration for PC-lint. The build configuration is set up to call a batch file. Select the project in the CodeWarrior Projects view, then select Project > Build Configurations > Manage from the IDE menu bar and create a new configuration using the New button:
Enter a name in the Name textbox for the new configuration, and copy the settings from the existing configuration.
To configure this new configuration to use the lint compiler, select Project > Properties > C/C++ Build > Builder Settings , disable Use default build command by clearing the checkbox and enter the following command in the Build command textbox:
${ProjDirPath}\lint\do_lint.bat "${ProjDirPath}"
"${MCUToolsBaseDir}"
Additionally, disable the Generate Makefiles automatically option by clearing the checkbox.
The CodeWarrior for MCU10.x uses parallel builds by default. This adds -j6 as option to the command line. In order to disable this, select the Enable project specific settings option in the Behaviour tab, also clear the Clean checkbox from the Workbench Build Behavior group: