22 lines
427 B
Markdown
22 lines
427 B
Markdown
# Building
|
|
|
|
You can build this in several different ways:
|
|
|
|
You can run the make file and have a static library of this lib.
|
|
|
|
You can compile the library directly into your program:
|
|
|
|
```c
|
|
// Run this to comile:
|
|
// $ gcc -o main main.c -I$MCUTIL_PATH/include
|
|
// Only do this ***once***
|
|
#define MCUTIL_IMPLEMENTATION
|
|
#include <mcutil/mcutil.h>
|
|
|
|
int main(int argc, char** argv) {
|
|
mcu_hash_map_t hm = {0};
|
|
|
|
return 0;
|
|
}
|
|
|