summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authordweller <dweller@cabin.digital>2024-07-31 02:37:41 +0300
committerdweller <dweller@cabin.digital>2024-07-31 02:37:41 +0300
commit6c080c486f987ba30e7efe209f1310c6cfca0beb (patch)
treeb18984337e4c53cd1b83a33701c875e0cacfa81f /README
initial commitHEADmaster
Diffstat (limited to 'README')
-rw-r--r--README19
1 files changed, 19 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..7288c41
--- /dev/null
+++ b/README
@@ -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)