add makefile for easier installation

main
anna 2 years ago
parent 6f259485b2
commit c5f617c33b
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

@ -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

@ -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

Loading…
Cancel
Save