URL:
<http://savannah.gnu.org/bugs/?40234>
Summary: Ignored missing include in makefile causes "no
makefile found" message.
Project: make
Submitted by: padavo
Submitted on: Thu 10 Oct 2013 05:28:09 AM GMT
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.0
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
$ mkdir bug
$ cd bug
$ make
make-4.0: *** No targets specified and no makefile found. Stop.
$ # ok, the "no makefile found" message is correct.
$ # create a makefile:
$ touch Makefile
$ make
make-4.0: *** No targets. Stop.
$ # ok, the "no makefile found" message is gone. Now here's the bug:
$ echo -include Makefile_2 >Makefile
$ make
make-4.0: *** No targets specified and no makefile found. Stop.
$ # bug: adding makefile content produced a "no makefile found" message.
# version 3.81 behaves the same
$ cat Makefile
-include Makefile_2
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40234>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make