From: Mark Wooding Date: Tue, 23 Jun 2020 09:34:52 +0000 (+0100) Subject: doc/tutorial.tex: Fix option-dash formatting. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/2b437182532c2e9c672c383beac8de29344e4963 doc/tutorial.tex: Fix option-dash formatting. --- diff --git a/doc/tutorial.tex b/doc/tutorial.tex index 0e935f2..eb4b336 100644 --- a/doc/tutorial.tex +++ b/doc/tutorial.tex @@ -99,8 +99,8 @@ complicated. If you use \man{make}{1}, then something like SOD = sod \\+ .SUFFIXES: .sod .c .h \\ - .sod.c:; \$(SOD) -tc \$< \\ - .sod.h:; \$(SOD) -th \$< + .sod.c:; \$(SOD) @-tc \$< \\ + .sod.h:; \$(SOD) @-th \$< \end{prog} ought to do the job. @@ -128,7 +128,7 @@ The following is a simple Sod input file. \end{prog} Save it as @|greeter.sod|, and run \begin{prog} - sod --gc --gh greeter + sod @-tc @-th greeter \end{prog} This will create files @|greeter.c| and @|greeter.h| in the current directory. Here's how we might use such a simple thing.