aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-01 01:01:10 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-01 01:01:10 +0100
commita2cd729ed21f366de52f6476dd8e794370a7bb4a (patch)
tree7cff26531f4ca01e8a6e6e2b3588cbfe04fa61b3
parentc2464f1286fb5c28a943a1dbd15827da044cd1f9 (diff)
Add a TODO
-rw-r--r--make.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/make.c b/make.c
index 251ca5c..b1d4d4d 100644
--- a/make.c
+++ b/make.c
@@ -86,7 +86,7 @@ main(int argc, char **argv)
usage:
fprintf(stderr,
"Usage: %s [-mr]\n"
- " %s clean | distclean\n",
+ " %s clean | distclean | install\n",
*argv, *argv);
exit(EXIT_FAILURE);
default:
@@ -113,6 +113,8 @@ usage:
strszero(&cmd);
strspushl(&cmd, "vendor/mlib/make", "clean");
}
+ } else if (strcmp(argv[0], "install") == 0) {
+ /* TODO: Add install target */
} else {
err(strcmp(nl_langinfo(CODESET), "UTF-8") == 0
? "invalid subcommand ā€” ā€˜%sā€™"
@@ -197,4 +199,4 @@ err(const char *fmt, ...)
funlockfile(stderr);
va_end(ap);
exit(EXIT_FAILURE);
-}
+} \ No newline at end of file