chiark / gitweb /
new lwc_fixed for distrib.pats and distributions
[nntp-merge-chiark.git] / Makefile
1 CFLAGS= -Wall -Wwrite-strings -Wpointer-arith -Wnested-externs \
2         -Wmissing-declarations -Wmissing-prototypes -O3 -g
3 # -DDEBUG
4 LDFLAGS= -s
5 LIBS= -lident
6
7 all:            nntp-merge md5cookie1way nnrpwrap nyxpostrun
8
9 nntp-merge:     main.o post.o config.o md5.o
10                 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
11
12 md5cookie1way:  sharedsecret.o md5.o
13                 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
14
15 nnrpwrap:       nnrpwrap.o md5.o
16                 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
17
18 nyxpostrun:     nyxpostrun.o
19                 $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
20
21 main.o post.o config.o:         nntp-merge.h
22 main.o:                         md5.h
23 md5.o:                          md5.h