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
parentfe47a13d8f88739eaf60979e82cef5c78ec3fb98 (diff)
downloadnscaw-11e9fd91ecc88f7e881feb65ad4863c7fe4dc992.tar.gz
Fix up MakefileHEADmaster
-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