diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-18 15:17:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-18 15:17:11 +1200 |
commit | 11e9fd91ecc88f7e881feb65ad4863c7fe4dc992 (patch) | |
tree | 395ce4bf0c2a7c4b806a0aa3dbdce7286abf99e2 | |
parent | Semi-sensible default for NSCA_SERVER (diff) | |
download | nscaw-11e9fd91ecc88f7e881feb65ad4863c7fe4dc992.tar.gz nscaw-11e9fd91ecc88f7e881feb65ad4863c7fe4dc992.zip |
Fix up Makefile
-rw-r--r-- | Makefile | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -1,8 +1,7 @@ -.PHONY: clean - -PREFIX := /usr/local - -all : - -install : nscaw - install -m 0755 nscaw "$(PREFIX)"/bin/nscaw +.POSIX: +.PHONY: install +.SUFFIXES: +PREFIX = /usr/local +all: +install: + cp -- nscaw $(PREFIX)/bin/nscaw |