From 8aac3c521be0a107768c2f556651710634b2bc7a Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Fri, 4 Sep 2020 23:25:55 -0400 Subject: [PATCH] Add 'install' rule to bin/Makefile --- bin/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/Makefile b/bin/Makefile index 13287e0..f01c6e5 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -13,6 +13,9 @@ OBJS = pattyd.o all: $(PROGRAMS) +install: $(PROGRAMS) + $(INSTALL) -c -m 0755 $(PROGRAMS) $(PREFIX)/bin + pattyd: pattyd.o $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS)