[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66011] dependencies after a non-existing file are silently ignored
|
From: |
Dmitry Goncharov |
|
Subject: |
[bug #66011] dependencies after a non-existing file are silently ignored |
|
Date: |
Sun, 21 Jul 2024 09:07:40 -0400 (EDT) |
Follow-up Comment #1, bug #66011 (group make):
This rule
%.o : %.c $(HEADERS) Makefile
does not apply because nonexisting.h does not exist.
To make there is simply no rule in this makefile to build *.o files.
You want to do something like this instead
hello.o: $(HEADERS) Makefile
%.o : %.c
$(CC) $(CFLAGS) -c $<
i'll need to think if diagnostics can be improved to help the user in this
case.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66011>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66011] dependencies after a non-existing file are silently ignored, anonymous, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored,
Dmitry Goncharov <=
- [bug #66011] dependencies after a non-existing file are silently ignored, anonymous, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored, Dmitry Goncharov, 2024/07/21
- [bug #66011] dependencies after a non-existing file are silently ignored, Paul D. Smith, 2024/07/22
- [bug #66011] dependencies after a non-existing file are silently ignored, anonymous, 2024/07/22
- [bug #66011] dependencies after a non-existing file are silently ignored, Paul D. Smith, 2024/07/22