X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=blobdiff_plain;f=Makefile;h=2b3767e80a4e3b0062c7c8560d5a02dbbebbe494;hb=refs%2Fheads%2Fmaster;hp=644accbb1ffce405d2c544ccb6245cb1aecff123;hpb=55f0e5df04720ada605edb8755a49251a0c56de0;p=nntp-merge-chiark.git diff --git a/Makefile b/Makefile index 644accb..2b3767e 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,17 @@ -CFLAGS= -Wall -Wwrite-strings -Wpointer-arith -Wnested-externs \ +CFLAGS= -Wall -Wwrite-strings -Wpointer-arith -Wnested-externs -Wno-format-overflow \ -Wmissing-declarations -Wmissing-prototypes -O3 -g # -DDEBUG 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)