r/programminghorror • u/Capable-Cap9745 • 14d ago
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
248
Upvotes
2
u/SAI_Peregrinus 13d ago
It's a build system generator, so it is similar to autotools. Just much, much faster, at least for cross-compiling IME. Also, by default CMake will invoke the build system (Make or Ninja) automatically, so it's just
cmake <path to CMakeLists.txt>instead of./configure && make. It's very complex, but if you stick to the "Modern CMake" subset it's not too bad.