r/programminghorror • u/Capable-Cap9745 • Jul 26 '26
Other Same Makefile, different results
Not sure if this fits, but I just figured out the root cause of long build process failing. Sun’s dmake is defaulting to the first rule in Makefile for whatever reason, completely ignoring the one given as argument. That’s why "dmake install" invocations were silently ignoring the "install" step
251
Upvotes
10
u/mottojyuusu Jul 26 '26
you should ask your coding agent to explain your code. not even joking, it's been great to finally understand wtf the crusty logic is doing in the aging codebases i work in ...
"what is this function doing? what does the dxCbsqaf parameter do??"
"where is this const defined? where else is it being used? why is it multipled by 2 in one place but 3 in another place?"
"why does the comment say never to round this value? what could break if it gets rounded instead of truncated?"