* src/local.mk: Adjust the dependency so that speedlist.h
is built irrespective of the object file name.
Note we could use BUILT_SOURCES for this,
but it's better to have this more accurate dependency.
---
 src/local.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/local.mk b/src/local.mk
index 200943954..537032578 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -718,7 +718,7 @@ src/speedlist.h: src/termios.c lib/config.h src/speedgen
        $(AM_V_at)chmod a-w $@t
        $(AM_V_at)mv $@t $@
 
-src/stty.$(OBJEXT): src/speedlist.h
+src/stty.c: src/speedlist.h
 
 # Generates a list of macro invocations like:
 #   SINGLE_BINARY_PROGRAM(program_name_str, main_name)
-- 
2.49.0


Reply via email to