initial code + Makefile

This commit is contained in:
2025-10-08 19:17:18 +02:00
parent 4066f3488b
commit 079921091f
4 changed files with 93 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#ifndef STK_H
#define STK_H
#include "stk_version.h"
int stk_init(void);
int stk_shutdown(void);
#endif /* STK_H */
+16
View File
@@ -0,0 +1,16 @@
#ifndef STK_VERSION_H
#define STK_VERSION_H
#define STK_VERSION_MAJOR 0
#define STK_VERSION_MINOR 0
#define STK_VERSION_PATCH 0
#define STK_STRINGIFY_HELPER(x) #x
#define STK_STRINGIFY(x) STK_STRINGIFY_HELPER(x)
#define STK_VERSION_STRING \
STK_STRINGIFY(STK_VERSION_MAJOR) \
"." STK_STRINGIFY(STK_VERSION_MINOR) "." STK_STRINGIFY( \
STK_VERSION_PATCH)
#endif /* STK_VERSION_H */