Adds makefile

master
Jonathan Hodgson 5 years ago
parent da7c0ac4ef
commit 28dd1c41eb
  1. 15
      Makefile

@ -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…
Cancel
Save