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 8186177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:06:22+00:00 2026-06-07T02:06:22+00:00

Not much to say. %.o: %.c @echo $< C:\Users\niklas\Desktop>make foo.o make: *** No rule

  • 0

Not much to say.

%.o: %.c
    @echo $<

C:\Users\niklas\Desktop>make foo.o
make: *** No rule to create »foo.o«. End.

I expect it to print foo.c. Why doesn’t it work?

Note: The last line of the last block is translated from german to english, the spelling might not be exactly as the english version prints out.


Platform: Windows 7
Architecture: x86
Make Version: gnuwin32 3.81 (25. Nov 2006)

  • 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-07T02:06:25+00:00Added an answer on June 7, 2026 at 2:06 am

    Does foo.c exist? If not, then Make won’t consider this rule.

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

Sidebar

Related Questions

Not much to say about this question...
The documentation does not say much besides: Private: Changes made to the resulting buffer
I'm not much into COM interfaces, so i have a small question, say I
First of all let me say I'm not much of a design guy. Most
There is not much to say here - I'd like to ask which of
OK the question might not say much, but here's the deal: I'm learning scala
I want to use a thin database (Not much data say 2-3 tables with
not much of a programming question, but development related still, I'm starting Android development
Not much code since I'm a bit at a loss on how to start.
I usually try to do TDD with not much analysis (no diagrams) before start

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.