chiark
/
gitweb
/
~ijackson
/
nntp-merge-chiark.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84739f4
)
install target
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 5 Jul 2022 11:43:31 +0000
(12:43 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 5 Jul 2022 11:43:31 +0000
(12:43 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 644accbb1ffce405d2c544ccb6245cb1aecff123..ae8db6d76c6d6d3ff794d2e0c668b2c0303c1ad9 100644
(file)
--- 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)