Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Creating a makefile

If you have created a Standard Make C/C++ Project, you need to provide a makefile.

When you build a project, output from make is displayed in the Console view. Makefile actions are displayed in the Make Targets view.

To create a makefile:

  1. In the C++ Projects view, right-click a project, and select New > File.
    New > File in Projects View
  2. In the File name box, type makefile.
  3. In the list of projects, verify that the correct project is selected.
  4. Click Finish.
    New File Wizard
  5. The C/C++ editor opens. Type makefile instructions in the C/C++ editor.
    Editor view with a sample code
  6. Click File > Save.

Related concepts
Makefile
Working with C/C++ project files

Related tasks
Displaying C/C++ file components in the C/C++ Projects view
Hiding files by type in the C/C++ Projects view

Related reference
Views

IBM Copyright Statement


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire