diff options
author | zachir <zachir@librem.one> | 2024-03-11 01:34:22 -0500 |
---|---|---|
committer | zachir <zachir@librem.one> | 2024-03-11 01:34:22 -0500 |
commit | 2b135d87f5c1f1f307984f5fd78e151f5ee99dae (patch) | |
tree | 6e9e089326ea40badd6dab25a3ed5a7cef61dcbd /include | |
parent | 42b5d719a0207a56b482a4e0298d72b628b93fa0 (diff) |
Replace build system with zig
Zig is actually handling the building and such, now the Makefile is
here just as a wrapper for it.
Diffstat (limited to 'include')
-rw-r--r-- | include/main.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/main.h b/include/main.h new file mode 100644 index 0000000..d6d758e --- /dev/null +++ b/include/main.h @@ -0,0 +1,26 @@ +// Copyright (c) 2024 Zachary Smith +#ifndef MAIN_H_ +#define MAIN_H_ + +#include <stdbool.h> +#include <stddef.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> + +#include <assert.h> +#include <string.h> + +#define VERSION "1.0.0" + +enum return_t { + SUCCESS = 0, + ERR +}; + +void printhelp(void); +void printcopyright(void); +void printversion(void); +int main(int, char**); + +#endif // MAIN_H_ |