aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-19 17:47:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-19 17:48:28 +1200
commit15f042746c09219bacda5c75062856a845eb503f (patch)
tree917e9d02326a4f113c15a841f6923534b632bb05
parentTurns out implicit rules do handle this (diff)
downloadwtf8-15f042746c09219bacda5c75062856a845eb503f.tar.gz (sig)
wtf8-15f042746c09219bacda5c75062856a845eb503f.zip
Nice POSIX makefilev1.0
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b9c9c48..a801044 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,14 @@
+.POSIX:
.PHONY: all install clean
PREFIX = /usr/local
-all : wtf8
+all: wtf8
-install : wtf8
- install -m 0755 -- wtf8 $(PREFIX)/bin
+install: wtf8
+ cp -- wtf8 $(PREFIX)/bin
-wtf8 : wtf8.c wtf8.h
+wtf8: wtf8.c wtf8.h
-clean :
+clean:
rm -f wtf8