Your CodeWarrior project probably shows in the 'Target' Tab two build targets: one for flash and one for RAM.

If you have more than one build target, then files in the 'Files' tab are linked to at least one target. You can see this in the 'Files' tab that there is a column (second to last) with a black arrow and a red circle target: the black dots in this column indicate if they are linked to the current target.

So for your example I assume that the .lcf is linked to either the RAM or FLASH target.

When the project builds, it only builds for the current/selected target, and as such it takes the corresponding .lcf file.

Your CodeWarrior project probably shows in the 'Target' Tab two build targets: one for flash and one for RAM.

If you have more than one build target, then files in the 'Files' tab are linked to at least one target. You can see this in the 'Files' tab that there is a column (second to last) with a black arrow and a red circle target: the black dots in this column indicate if they are linked to the current target.

So for your example I assume that the .lcf is linked to either the RAM or FLASH target.

When the project builds, it only builds for the current/selected target, and as such it takes the corresponding .lcf file.

thanks your concern,i have found how to change the relation lcf and codewarrior,in the 'link order' tab,i can remove a lcf file and also add another lcf file.when there are two lcf file exist ,it will tip too much lcf file when compiling code.