From: Ian Jackson Date: Tue, 5 Jul 2022 11:43:31 +0000 (+0100) Subject: install target X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=1aa1ddbe57ab35ca7f22dfcac0940c779b939f29;hp=84739f48e8a38cc75760b334c8969b87ae661683;p=nntp-merge-chiark.git install target --- 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)