[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wrong error message 'No rule to make target' instead of 'makefile not fo
From: |
bestellrep1 |
Subject: |
Wrong error message 'No rule to make target' instead of 'makefile not found' |
Date: |
Wed, 1 Apr 2009 09:52:15 +0200 |
User-agent: |
KMail/1.10.3 (Linux/2.6.27.19-3.2-pae; KDE/4.1.3; i686; ; ) |
Please keep my email-address confidential, as I don't want to get spam.
The command (1)
make elf
gives the result "make: *** No rule to make target `elf'. Stop."
when no makefile exists.
The command (2)
make -f mmm aaa
gives the result
make: mmm: No such file or directory
make: *** No rule to make target `mmm'. Stop.
I'd prefer to get the "No such file or directory" in every case
when the makefile is not found. For command (2), mmm is the name
of the makefile and _not_ the name of a target. It looks like
there is a connection between the two bugs.
It was very confusing and took a long time to find out this was a
make bug, when I first encountererd command (1), as there was a
makefile named 'xyz.mke' but no makefile named 'makefile'.
=============================
make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-linux-gnu
[openSUSE 11.1]
- Wrong error message 'No rule to make target' instead of 'makefile not found',
bestellrep1 <=