3 ms·
If this article is supposed to be showing that Rake is useful for plain C development, it's not doing a very good job of it since this particular thing is quite
by plorkyeran 12y ago
If this article is supposed to be showing that Rake is useful for plain C development, it's not doing a very good job of it since this particular thing is quite trivial with GNU Make (just add -MMD to gcc's arguments and `-include *.d` to the Makefile). A more compelling argument would be something that shows Rake easily handling something that is very awkward in Make.
- Scaevolus 12y agoThis also makes the mistake of requiring a separate -MM step before building the target -- if a target doesn't exist, you have to build it regardless of its dependencies! -MMD with allows the correct behavior of always building the first time, then using dependency information for partial rebuilds.