Adds makefile
This commit is contained in:
parent
da7c0ac4ef
commit
28dd1c41eb
1 changed files with 15 additions and 0 deletions
15
Makefile
Normal file
15
Makefile
Normal file
|
@ -0,0 +1,15 @@
|
|||
# mkl
|
||||
.POSIX:
|
||||
|
||||
# paths
|
||||
PREFIX = /usr/local
|
||||
MANPREFIX = $(PREFIX)/share/man
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
go build -o $(DESTDIR)$(PREFIX)/bin/resize-netcat-listener main.go
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/resize-netcat-listener
|
||||
|
||||
.PHONY: install uninstall
|
Loading…
Add table
Add a link
Reference in a new issue