summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2014-10-25 16:51:49 +0200
committerjaseg <code@jaseg.net>2014-10-25 16:51:49 +0200
commit61d2ff5d2c91ec8b426f9f1e666a7edd3c13ee33 (patch)
treed006c93e476846136060a89fce1bdf6cf8ff761f
parent1a7b19cd2474841e6faf84fbb6478778d8f2abdc (diff)
downloadlolcat-61d2ff5d2c91ec8b426f9f1e666a7edd3c13ee33.tar.gz
lolcat-61d2ff5d2c91ec8b426f9f1e666a7edd3c13ee33.tar.bz2
lolcat-61d2ff5d2c91ec8b426f9f1e666a7edd3c13ee33.zip
Added installation instructions and extended the README
-rw-r--r--LOLCat-Rainbow.JPGbin0 -> 42785 bytes
-rw-r--r--Makefile7
-rw-r--r--README.md32
3 files changed, 38 insertions, 1 deletions
diff --git a/LOLCat-Rainbow.JPG b/LOLCat-Rainbow.JPG
new file mode 100644
index 0000000..9524d26
--- /dev/null
+++ b/LOLCat-Rainbow.JPG
Binary files differ
diff --git a/Makefile b/Makefile
index 23dd508..ff1d72d 100644
--- a/Makefile
+++ b/Makefile
@@ -3,4 +3,9 @@ all: lolcat
lolcat: lolcat.c fgetwc_fix.c
gcc -g -std=c99 -Wall -o lolcat lolcat.c fgetwc_fix.c
-# gcc -g -std=c99 -Wall -nostdinc -nostdlib -I/usr/x86_64-linux-uclibc/usr/include -I/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.1/include -I/usr/include -L/usr/x86_64-linux-uclibc/usr/lib /usr/x86_64-linux-uclibc/usr/lib/crt1.o -lc -lrt -o lolcat lolcat.c
+
+install: lolcat
+ install lolcat /usr/local/bin
+
+.PHONY: install all
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..79a5bdb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,32 @@
+# What?
+
+![](https://raw.githubusercontent.com/jaseg/lolcat/master/LOLCat-Rainbow.jpg)
+
+## Screenshot
+
+![](https://raw.githubusercontent.com/jaseg/lolcat/master/screenshot.png)
+
+## Installation
+
+```bash
+$ make && sudo make install
+```
+
+## Why?
+
+```bash
+newton~/d/lolcat <3 dmesg>foo
+newton~/d/lolcat <3 cat foo foo foo foo foo foo >bar
+newton~/d/lolcat <3 cat bar bar bar bar bar bar >foo
+newton~/d/lolcat <3 cat foo foo foo foo foo foo >bar
+newton~/d/lolcat <3 cat bar bar bar bar bar bar >foo
+newton~/d/lolcat <3 ls -lh foo
+-rw-r--r-- 1 jaseg jaseg 578M Oct 25 16:48 foo
+newton~/d/lolcat <3 time upstream/bin/lolcat foo
+13.51user 1.34system 0:15.99elapsed 92%CPU (0avgtext+0avgdata 10864maxresident)k
+0inputs+0outputs (0major+1716minor)pagefaults 0swaps
+newton~/d/lolcat <3 time ./lolcat foo
+0.02user 0.00system 0:00.09elapsed 34%CPU (0avgtext+0avgdata 1936maxresident)k
+0inputs+0outputs (0major+117minor)pagefaults 0swaps
+```
+