Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » [SOLVED]How to import C project into Eclipse with makefile ?
[SOLVED]How to import C project into Eclipse with makefile ? [message #1839675] Thu, 25 March 2021 14:21 Go to next message
Giorgio Guglielmone is currently offline Giorgio GuglielmoneFriend
Messages: 6
Registered: July 2017
Junior Member
I have a C project already done, with its makefile.
I would like to import it into Eclipse 2021-03 (4.19.0) under Windows 10. Can you tell me how to proceed step-by-step ?
Attached I put the entire project that run on the command line (using MinGW in Windows) compiles perfectly, both in Linux and in Windows.
I have installed the same version of Eclipse 2021-03 (4.19.0) on both Linux and Windows.
  • Attachment: Funzioni.7z
    (Size: 1.45KB, Downloaded 18 times)

[Updated on: Thu, 25 March 2021 18:25]

Report message to a moderator

Re: How to import C project into Eclipse with makefile [message #1839684 is a reply to message #1839675] Thu, 25 March 2021 16:49 Go to previous messageGo to next message
Jose Maldonado is currently offline Jose MaldonadoFriend
Messages: 6
Registered: March 2021
Junior Member
Hi,
You must go to: File-->import-->C/C++--->Existing Code as Makefile Project

Select the path to the Makefile in your project and GNU Autotools Toolchain
Re: How to import C project into Eclipse with makefile [message #1839687 is a reply to message #1839684] Thu, 25 March 2021 18:11 Go to previous message
Giorgio Guglielmone is currently offline Giorgio GuglielmoneFriend
Messages: 6
Registered: July 2017
Junior Member
thank you so much Jose MaldonadoFriend, I tried as you said and finally accepted my makefile and successfully compiled the project.
Thank you so much
Previous Topic:Cannot have expected output for producerconsumer (bounded-buffer) problem
Next Topic:Build can't find gfortran
Goto Forum:
  


Current Time: Wed Dec 01 10:18:10 GMT 2021

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

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

Back to the top