4 ms·
…? Plenty of people write makefiles by hand. ./configure && make && make install is still a common method of doing build systems, even though there are a lot of
by saagarjha 4y ago
…? Plenty of people write makefiles by hand. ./configure && make && make install is still a common method of doing build systems, even though there are a lot of new ways to also do builds now.
- cultureswitch 4y agoIt is a common and terrible method, only surviving out of general familiarity with the abomination that is autotools.
- saagarjha 4y agoSure, but that doesn’t mean it’s not still common.
- SleepyMyroslav 4y agoWriting software is a team effort. You need to be on same page with your team. Which means one needs to learn 'one of a lot of new ways'. In continuation of my AAA project example. For a standalone utility that targets only one Linux platform and will never need to consume libraries from AAA project a makefile is still acceptable.
- saagarjha 4y agoI’m curious why you’re focusing on games? I understand they have their own build systems. Everyone else has other needs.
- SleepyMyroslav 4y ago>why you’re focusing on games? Its quite simple. Games is what I do for living for quite some time. They are a decent specific example of a software project that employs lots of people who need to build software every day on a job. This way I can say what industry does instead of what I think it should do.
- Jorengarenar 4y agoI just want to remind, typical GameDev experience can differ substantially from typical SoftDev experience, so I'd be cautious from extrapolating on whole industry.
- SleepyMyroslav 4y agoI hope by specifically mentioning GameDev I have avoided misrepresenting other industries.
- Jorengarenar 4y agoI mean... you started by saying nobody writes Makefiles anymore...
- flohofwoe 4y agoUsing autotools on Windows is a PITA. And as much as cmake syntax sucks, at least cmake properly supports Windows and MSVC.
- SAI_Peregrinus 4y agoIf there's a ./configure step before make, it's not a hand-written Makefile, it's generated by Autotools.
- saagarjha 4y agoSome people hand-write their configure scripts, but it’s less common.
- SAI_Peregrinus 4y agoAnd some people hand-write Makefiles for some simple projects. But those are the output of configure scripts (or CMake files), so hand-writing a configure script (or CMakeLists.txt) isn't hand-writing the resulting Makefile. Writing Makefiles by hand for a single platform and target is easy, I do it for task automation, but it's unusably complex for multi-platform software with multiple build configurations.