From a2cd729ed21f366de52f6476dd8e794370a7bb4a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 1 Nov 2024 01:01:10 +0100 Subject: Add a TODO --- make.c | 6 ++++-- 1 file 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 -- cgit v1.2.3