From 36da139565202a9a39d1e4261ab8bf950041518b Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 24 Aug 2025 23:55:22 +0900 Subject: feat: separate compilation --- src/cli.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/cli.h (limited to 'src/cli.h') diff --git a/src/cli.h b/src/cli.h new file mode 100644 index 0000000..3288c10 --- /dev/null +++ b/src/cli.h @@ -0,0 +1,18 @@ +#ifndef DUCC_CLI_H +#define DUCC_CLI_H + +#include "std.h" + +struct CliArgs { + const char* input_filename; + const char* output_filename; + BOOL output_assembly; + BOOL only_compile; + BOOL totally_deligate_to_gcc; + const char* gcc_command; +}; +typedef struct CliArgs CliArgs; + +CliArgs* parse_cli_args(int argc, char** argv); + +#endif -- cgit v1.2.3-70-g09d2