From 750bf778468fa219ac1f4ba1f6d22aa6322121cf Mon Sep 17 00:00:00 2001 From: "Gu://em_" Date: Sat, 25 Oct 2025 14:20:09 +0200 Subject: [PATCH] ' --- minimake/minimake.c | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 minimake/minimake.c diff --git a/minimake/minimake.c b/minimake/minimake.c deleted file mode 100644 index e3abfb9..0000000 --- a/minimake/minimake.c +++ /dev/null @@ -1,31 +0,0 @@ -// Error Codes -#define INVALID_ARG 2 - -#include -#include -#include -#include -#include - -// TODO: -// Look at perror for stdlib functions -// Create an enum for error handling - -int handle_args(int argc, char **argv) -{ - int flags = 0; - for (int i = 1; i < argc; i++) - { - if (strcmp(argv[i], "-h")) - errx(INVALID_ARG, "-h: not implemented"); - else if (strcmp(argv[i], "-f")) - errx(INVALID_ARG, "-f: not implemented"); - else if (strcmp(argv[i], "-p")) - errx(INVALID_ARG, "-p: not implemented"); - else - errx(INVALID_ARG, ": Pleaase give an argument"); - } -} - -int main(int argc, char **argv) -{}