commit 4ad9f211ea27642003a96861098c30b3fa400ae2 from: Benjamin Stürz date: Wed Dec 11 15:57:29 2024 UTC make: document new options in help page commit - 71fe64248fa9da861f80916d4c17bc8051613255 commit + 4ad9f211ea27642003a96861098c30b3fa400ae2 blob - ff322bd4f0ab5704d552f7e807f5baaa61983563 blob + 570282543305a8987b2cdcb2523c639c25a772fe --- make/TODO.md +++ make/TODO.md @@ -42,7 +42,11 @@ # Options -q check if anythings needs to be built +-i ignore failing commands +-e read environment variables +# Print a warning, if a generated file is not placed into `${.OBJDIR}` when building out-of-tree + # Allow leaf-directories to not have a Makefile # `-include` or `sinclude` blob - 46f64ae61f36f07450d219bc8248dabc5ed82d6d blob + 2916fcba96c1bcd5647ad72330d64fbb0e0ba87a --- make/make.c +++ make/make.c @@ -2920,11 +2920,15 @@ struct scope *sc; fputs ("\nOPTIONS:\n", stderr); fputs ("-C dir - chdir(dir)\n", stderr); fputs ("-f file - read `file` instead of \"" MAKEFILE "\"\n", stderr); + fputs ("-o objdir - put build artifacts into objdir\n", stderr); + fputs ("-V var - print expanded version of var\n", stderr); fputs ("-h - print help page\n", stderr); fputs ("-hv - print help page, recursively\n", stderr); fputs ("-p - dump tree\n", stderr); fputs ("-pv - dump tree, recursively\n", stderr); fputs ("-s - do not echo commands\n", stderr); + fputs ("-k - continue processing after errors are encountered\n", stderr); + fputs ("-S - stop processing when errors are encountered (default)\n", stderr); fputs ("-v - verbose output\n", stderr); fputs ("\nMACROS:\n", stderr);