Skip to main content



      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 10:21 Go to next message
Eclipse UserFriend
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 59 times)

[Updated on: Thu, 25 March 2021 14:25] by Moderator

Re: How to import C project into Eclipse with makefile [message #1839684 is a reply to message #1839675] Thu, 25 March 2021 12:49 Go to previous messageGo to next message
Eclipse UserFriend
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 14:11 Go to previous message
Eclipse UserFriend
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: Mon Jul 21 07:04:05 EDT 2025

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

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

Back to the top