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
View all comments
Show parent comment
1
u/SAI_Peregrinus Jul 28 '26
You pick the backend. It defaults to
make, but you can override it to build with any supported build system with theCMAKE_GENERATORenv var, a CLI argument, or a set command in CMakeLists.txt.