From 1aa1ddbe57ab35ca7f22dfcac0940c779b939f29 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 5 Jul 2022 12:43:31 +0100 Subject: [PATCH 1/1] install target --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 644accb..ae8db6d 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,14 @@ CFLAGS= -Wall -Wwrite-strings -Wpointer-arith -Wnested-externs \ LDFLAGS= -s LIBS= -lident +INSTALL=install + all: nntp-merge md5cookie1way nnrpwrap nyxpostrun +install: + $(INSTALL) -m 755 nntp-merge nnrpwrap /usr/local/sbin/ + $(INSTALL) -m 755 md5cookie1way /usr/local/bin/ + nntp-merge: main.o post.o config.o md5.o $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) -- 2.30.2