DOCGroup / ACE_TAO

ACE and TAO
https://www.dre.vanderbilt.edu/~schmidt/TAO.html
697 stars 375 forks source link

GNU make 4.4 complains about rules. #1984

Open jwillemsen opened 1 year ago

jwillemsen commented 1 year ago

With GNU make 4.4 we get the following warning a lot when compiling ACE/TAO

/home/johnny/ACE/trunk/ACE/include/makeinclude/rules.local.GNU:294: warning: pattern recipe did not update peer target '/home/johnny/ACE/trunk/ACE/man/mann/libACE.so.7.0.10'.
GNU Make 4.4
Built for x86_64-suse-linux-gnu
Copyright (C) 1988-2022 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.
mitza-oci commented 1 year ago

Good opportunity to refactor this chunk of the makefile and clean it up. I think it's simple enough to put the "recipe" part into a variable and make separate rules for the various patterns.

https://stackoverflow.com/questions/74449959/makefile-warning-pattern-recipe-did-not-update-peer-target

jwillemsen commented 4 months ago

Tried the suggestion from stack overflow but that didn't work, testing #2225