2 ms·
GNU make, that's the last thing I would recommend!
by SixSigma 13y ago
GNU make, that's the last thing I would recommend!
- sillysaurus3 13y agoYou should really be using conditionals in your make file to select source code files. If you start moving your programming logic (even compiletime logic) into any kind of makefile, you make life much harder for gamedevs, because it becomes harder to port your code to Windows. If you care about open source, then this is less inclusive a way to write code. You'll be excluding a segment of your programming community (gamedevs) because they're forced by the nature of the industry to compile their code on Windows. That's changing, but it's changing slowly. In the meantime, some people don't care about that, but it would be nice to get some sympathy when it's so easy to write the code in a way that can include more groups of programmers, which is what open source is all about.
- dllthomas 13y agoThe gamedevs I have worked with use cross-platform makefiles (CMake, IIRC, but it's been a while) for their builds.
- sillysaurus3 13y agoCMake is pretty awesome. If that's what they were recommending, then I apologize. It sounded like they were talking about standard make though. Does plan9 use CMake?
- dllthomas 13y agoI doubt plan9 uses cmake, though one could presumably use cmake on plan9. The general point they were making was "use your tooling to build different files, rather than different versions of the same file." Nit-picking at particular tools misses the point. Building it that way means you just need to pick a compatible set of source files and build them. Writing your code with a bunch of #ifdefs set up with autotools is going to be harder to get working on Windows not easier.
- SixSigma 13y agoPlan9 uses its own mk.