diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-02-24 11:43:13 +1100 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-02-24 11:43:13 +1100 |
commit | b047be5252aeb981faea077409c1768fda0301d9 (patch) | |
tree | 43925d4f4ef3aed59a147746d918c34e66fe91a6 /examples | |
parent | a67df4d18655e58d8544e91cde546122f41cb492 (diff) |
xmake init with shared/static lib
Diffstat (limited to 'examples')
-rw-r--r-- | examples/first.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/first.c b/examples/first.c new file mode 100644 index 0000000..0f61a51 --- /dev/null +++ b/examples/first.c @@ -0,0 +1,9 @@ +#include <stdio.h> +#include "defines.h" + +int main() { + i32 num = -256; + printf("A number: %d\n", num); + + return 0; +}
\ No newline at end of file |