3 ms·
I have a theory that the people who love make are the same people who love macros and the people who hate make don't love them. I wrote a book on make and I fu
by jgrahamc 9y ago
I have a theory that the people who love make are the same people who love macros and the people who hate make don't love them.
I wrote a book on make and I fully recognize that there are people who look at what I've written there and think I'm completely mad: https://www.nostarch.com/gnumake https://www.nostarch.com/gnumake
Make's greatest irony is that it's a system for building files based on dependencies but has no way of actually discovering dependencies. I wrote about this for Dr Dobbs a while back: http://www.drdobbs.com/architecture-and-design/dependency-management-the-irony-of-make/228701768 http://www.drdobbs.com/architecture-and-design/dependency-ma...
And make has deficiencies that are a nightmare to work around and get right (e.g. spaces in filenames, recursion, ...)
If anyone else out there is a make hacker like myself they might enjoy the GNU Make Standard Library project: http://gmsl.sourceforge.net/ http://gmsl.sourceforge.net/
- llimllib 9y ago(disclaimer: I like make but not macros) > And make has deficiencies that are a nightmare to work around and get right (e.g. spaces in filenames, recursion, ...) Yes! we seem to be stuck in a local maximum with make. I wrote my own make replacement, as have many before me, and learned the folly of my own ways. Nowadays I use (and love) make despite its terrible handicaps, but I really wish there were something fundamentally similar but a) less C-focused and b) containing many fewer footguns.
- lederhosen 9y agoShake is similar to Make with some improvements (it is a Haskell DSL), I have not used it, but it looks good. http://shakebuild.com/ http://shakebuild.com/