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