diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e34c33c --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +gaycat: + $(CC) -O2 -o gaycat gaycat.c + +install: gaycat + install gaycat /usr/local/bin/ + mkdir -p /usr/local/share/man/man6 + install gaycat.6 /usr/local/share/man/man6/ + +all: gaycat + + diff --git a/README.md b/README.md index d059d88..1bb76d8 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,17 @@ like the rainbow pride flag. On any POSIX compliant system, type ``` -make gaycat +make ``` and you get the `gaycat` executable. +To install the program and manual page on your system, type + +``` +make install +``` + +as root. ## Usage