summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-01-14 16:34:34 -0500
committerJakob Kaivo <jkk@ung.org>2020-01-14 16:34:34 -0500
commit74b1b3157e2c8f2445c7ea161cec13da32e52434 (patch)
tree6431aa22a20b257d9c952a38c819160d01bb3c40
parentbf65292b5bb29f3cbea114e3c03e058fe8f14f85 (diff)
document new behavior and -n option
-rw-r--r--README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index cd40541..43fad4f 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,17 @@ There are a few restrictions:
file containing main() (e.g. if main() is in maje.c, the binary will be called
maje).
-Maje has no command line options, and supports only a single (optional)
-operand. If given, the operand is the path to a directory containing source
-for an out-of-source-tree build. If not specified, Maje defaults to using
-the current directory (.).
+Usage
+=====
+
+Run Maje with:
+
+ maje [-n] [dir]
+
+By default, Maje will execute `make` when it is done creating the Makefile. Use
+the `-n` option to prevent this.
+
+By default, Maje generates a Makefile for sources in the current directory.
+You can specify a directory as a command line parameter to generate a Makefile
+to build binaries in a separate directory from the source. Maje will always
+build Makefiles and binaries in the current directory.