Follow-up Comment #1, bug #66237 (group make): I can reproduce this with make-4.3, however, the latest make build from master behaves correctly here. $ make --version GNU Make 4.4.90 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ make-4.3 --version GNU Make 4.3 Built for x86_64-redhat-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ $ $ ls makefile obj1 obj2 source $ cat makefile obj1 &: source; touch $@ obj2: obj1; touch $@ $ touch source $ make-4.3 obj2 touch obj1 touch obj2 $ touch source $ make-4.3 -n obj2 touch obj1 $ touch source $ make -n obj2 touch obj1 touch obj2
_______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66237> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature