URL: <https://savannah.gnu.org/bugs/?66011>
Summary: dependencies after a non-existing file are silently
ignored
Group: make
Submitter: None
Submitted: Sun 21 Jul 2024 09:56:54 AM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.3
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 21 Jul 2024 09:56:54 AM UTC By: Anonymous
This is how my Makefile looks like:
HEADERS = a.h b.h nonexisting.h c.h d.h
%.o : %.c $(HEADERS) Makefile
$(CC) $(CFLAGS) -c $<
If I change c.h, d.h or the Makefile, make just says "Nothing to be done". If
I run `make -d` I can see that the items beginning with nonexisting.h are not
in the dependency list of the targets. A warning would be nice.
This is make 4.3-4.1 in Debian Unstable.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66011>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
