To add a source file or header to project follow steps below:
- In the CodeWarrior Project window, right-click on the folder where you want the new source file or header to be added.
A context menu appears.
- From the context menu, select
New > Source File
.
The
New Source File
window appears.
- In the
Source File
textbox, enter the name of the source file.
- Click
Finish
.
The source file gets added to your project.
Note:
Another way to accomplish is to drag and drop the file from Windows Explorer. A copy of the file is added to the project's workspace. If you make changes to the source file, the original source file is not modified. Only source file in the project is modified.