diff options
author | dweller <dweller@cabin.digital> | 2024-07-31 02:37:41 +0300 |
---|---|---|
committer | dweller <dweller@cabin.digital> | 2024-07-31 02:37:41 +0300 |
commit | 6c080c486f987ba30e7efe209f1310c6cfca0beb (patch) | |
tree | b18984337e4c53cd1b83a33701c875e0cacfa81f /README |
Diffstat (limited to 'README')
-rw-r--r-- | README | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +bin2c +----- + +Converts files to a C char array ready to be #include'ed into your source code a la C23's #embed. +See: https://cabin.digital/log/c89_embed.html + or http://retro.cabin.digital/log/c89_embed.html + +See example/ for, well, example. + +Build: cc bin2c.c -o bin2c + +Install: idk put it in your $PATH + +Usage: bin2c [filename] + If filename is empty will read from stdin and outout to stdout on EOF. + Otherwise will create filename.h and write into it. + +Bugs: https://cabin.digital/whoami.html#contact + (http://retro.cabin.digital/whoami.html#contact) |