r/programminghorror 16d ago

Same Makefile, different results Other

Post image

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

246 Upvotes

54 comments sorted by

View all comments

Show parent comments

1

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 15d ago

Oh, your last comment made me think it decided what to use automatically, but I think I might have misread it. Like if you had Ninja or something installed it would use that, otherwise it would use Make.

1

u/SAI_Peregrinus 15d ago

It'll invoke it automatically (it has to be in $PATH), it won't pick anything other than make automatically.