3 ms·
How does it compare to mk[0]? mk was make done better for Plan 9. [0] http://plan9.bell-labs.com/sys/doc/mk.html http://plan9.bell-labs.com/sys/doc/mk.html
by black_knight 11y ago
How does it compare to mk[0]?
mk was make done better for Plan 9.
[0] http://plan9.bell-labs.com/sys/doc/mk.html http://plan9.bell-labs.com/sys/doc/mk.html
- koenigdavidmj 11y agomk and Ninja (the target to which Kati compiles) appear to be almost equivalent to each other, except that mk has patterns ("here is how to compile any .c file into a .o file") and Ninja requires that each target be written explicitly ("here is how to compile foo.c into foo.o", once per file). This is okay, because mk is meant to be written by humans and Ninja is meant to be a target for compilers like Kati and cmake.
- oso2k 11y agoMake uses patterns as well, especially if you're "Doing It Right"(tm) [0][1][2]. [0] http://git.suckless.org/st/tree/Makefile#n6 http://git.suckless.org/st/tree/Makefile#n6 [1] http://git.suckless.org/st/tree/Makefile#n7 http://git.suckless.org/st/tree/Makefile#n7 [2] http://git.suckless.org/st/tree/Makefile#n20 http://git.suckless.org/st/tree/Makefile#n20