add makefile for easier installation
This commit is contained in:
parent
6f259485b2
commit
c5f617c33b
2 changed files with 19 additions and 1 deletions
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -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
|
On any POSIX compliant system, type
|
||||||
|
|
||||||
```
|
```
|
||||||
make gaycat
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
and you get the `gaycat` executable.
|
and you get the `gaycat` executable.
|
||||||
|
To install the program and manual page on your system, type
|
||||||
|
|
||||||
|
```
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
|
||||||
|
as root.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue