aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-18 15:17:11 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-18 15:17:11 +1200
commit11e9fd91ecc88f7e881feb65ad4863c7fe4dc992 (patch)
tree395ce4bf0c2a7c4b806a0aa3dbdce7286abf99e2
parentSemi-sensible default for NSCA_SERVER (diff)
downloadnscaw-11e9fd91ecc88f7e881feb65ad4863c7fe4dc992.tar.gz
nscaw-11e9fd91ecc88f7e881feb65ad4863c7fe4dc992.zip
Fix up Makefile
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 66deec6..4932b9b 100644
--- a/Makefile
+++ b/Makefile
@@ -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