Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8615379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:21:47+00:00 2026-06-12T05:21:47+00:00

I have a C project and I’m trying to use my own makefile. In

  • 0

I have a C project and I’m trying to use my own makefile. In C/C++ Build Settings I unchecked “use default build command” and I also changed make to make -f ${ProjDriPath}/GNUmakefile

The make file is GNUmakefile. I get the following message:

make: * No rule to make target `/GNUmakefile’. Stop.

The command was originally “make” and the checkbox was checked, but when I went to build in Eclipse, I got an error message about more than one main function. I have several source files in the project that are each compiled separately. So that’s why I tried changing the Eclipse settings. The “make” command works from the terminal.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:21:48+00:00Added an answer on June 12, 2026 at 5:21 am

    I changed "make" to "make -f ${ProjDriPath}/GNUmakefile"

    I get the following message "make: * No rule to make target `/GNUmakefile’. Stop. "

    I strongly suspect that you

    • haven’t set the environment variable ProjDirPath, or
    • have copy-pasted the make command above and have the typo ProjDriPath only in that command, but not in the environment variable.

    With the environment variable not set, it expands to an empty string, and make searches for /GNUmakefile, which of course doesn’t exist in the root directory. Then make has no rule to create it, and reports that message.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have project and I use maven to to build project: mvn clean install
We have project which uses gcc and make files. Project also contains of one
I have project I want to upgrade to .Net4 and it use BackgroundCopyManager.dll. Anyone
I have project that shows few tables and try to use JQuery dialog boxes
I have project with my resources (resx files), and I want to use them
I have project configured in Jenkins that polls an SCM and begins a build
I have project to write a application to make call, voice mail interact with
I have project where i want to use the sqlcommandbuilder. My only problem is
I have project group in Eclipse. But I use debug as --> on server
We have project on Umbraco 4 (web forms). And now we want to use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.