Added installation instructions and extended the README
This commit is contained in:
parent
1a7b19cd24
commit
61d2ff5d2c
3 changed files with 38 additions and 1 deletions
BIN
LOLCat-Rainbow.JPG
Normal file
BIN
LOLCat-Rainbow.JPG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
7
Makefile
7
Makefile
|
|
@ -3,4 +3,9 @@ all: lolcat
|
||||||
|
|
||||||
lolcat: lolcat.c fgetwc_fix.c
|
lolcat: lolcat.c fgetwc_fix.c
|
||||||
gcc -g -std=c99 -Wall -o 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
|
||||||
|
|
||||||
|
|
|
||||||
32
README.md
Normal file
32
README.md
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# What?
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Screenshot
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 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
|
||||||
|
```
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue