Feature request: one line rules
Makefiles also support this: https://www.gnu.org/software/make/manual/html_node/Rule-Syntax.html
targets : attributes : prerequisites ; recipe
Ah I didn't know the Make syntax, but Knit supports this with the following syntax:
targets:attributes: prereqs > recipe
Indeed, just tested it and works, mostly.
i don't see that syntax documented, so, it is not expected that it is widely used. Then, why not change it and make it like makefiles?
Also, it does not work together with the D attribute:
$ $(builddir)/%.o : D[$(builddir)/%.d] : %.c > $(CC) $(CFLAGS) -MMD -c $(input) -o $(output)
syntax error: while reading a rule's prerequisites, expected filename or pattern but found ">"