aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'make.c')
-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