Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » To create a makefile from an existing Eclipse project.(That is possibly?)
To create a makefile from an existing Eclipse project. [message #1819680] Tue, 21 January 2020 04:02 Go to next message
Eclipse UserFriend
Hello everyone.
I have big project in eclipse. It building by MinGW. I need to build it by script without eclipse. Can I generate makefile automatically?
Re: To create a makefile from an existing Eclipse project. [message #1820606 is a reply to message #1819680] Thu, 23 January 2020 14:40 Go to previous message
Eclipse UserFriend
You are asking how to generate a makefile without Eclipse?
You should look at some of the numerous tutorials.
Google "gnu make tutorial"

Make has macros for globbing source files.
Familiarize yourself with the Make manual.
https://www.gnu.org/software/make/manual/make.html
https://www.gnu.org/software/make/manual/

If you are instead asking how to get Eclipse to generate a makefile,
go to Project --> Properties --> C/C++ Build
then enable Generate Makefiles automatically
You then will need to run a build to get the makefile in the configuration directory (selected at the top of the dialog).





[Updated on: Thu, 23 January 2020 14:54] by Moderator

Previous Topic:Using Eclipse or "cat' to merge C++ classes / files into one
Next Topic:Visual Studio C++ compiler under Eclipse
Goto Forum:
  


Current Time: Mon Jun 23 06:03:01 EDT 2025

Powered by FUDForum. Page generated in 0.26671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top