From 1084d89137fe38a5b52e30bd56e521f8e64fcf43 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 28 Jan 2018 05:47:13 -0500 Subject: Add portable bins target --- bin/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'bin/Makefile') diff --git a/bin/Makefile b/bin/Makefile index a304c4cd..7c4f2c8d 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,9 +1,12 @@ -BINS = atch bri dtch hnel jrp klon pbcopy pbd pbpaste typo wake watch xx +PINS = atch bri dtch hnel pbcopy pbd pbpaste wake xx +BINS = $(PINS) jrp klon typo watch CFLAGS += -Wall -Wextra -Wpedantic LDLIBS = -lcurses -ledit -lutil all: $(BINS) .gitignore +portable: $(PINS) .gitignore + atch: dtch ln -f dtch atch @@ -13,7 +16,7 @@ pbcopy pbpaste: pbd clean: rm -f $(BINS) -link: $(BINS) +link: ln -s -f $(BINS:%=$(PWD)/%) ~/.bin unlink: -- cgit 1.4.1