From 4d87ac4e8ea4ace53a38f9d3ccdf376a9848ec69 Mon Sep 17 00:00:00 2001 From: Paul David Date: Wed, 3 Jul 2019 21:14:14 +1000 Subject: [PATCH] Add install target. * GNUmakefile (install): Put in /usr/local/bin. --- GNUmakefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 49e7d90..aa8c9a5 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,9 @@ +.PHONY: all all: debounce debounce: debounce.m - clang -fobjc-arc -framework Cocoa ./debounce.m -o $@ + clang -fobjc-arc -framework Cocoa $^ -o $@ -.PHONY: all +.PHONY: install +install: debounce + cp $< /usr/local/bin