Fixed a little bug when the newsrc wasn't found.
[noose.git] / Makefile
blob6b87f7d06fd501fe996a87f52375cbb5035852a0
1 #
2 # Makefile
3 # Created: Sun Feb 25 20:36:09 2001 by tek@wiw.org
4 # Revised: Sun Feb 25 20:36:09 2001 (pending)
5 # Copyright 2001 Julian E. C. Squires (tek@wiw.org)
6 # This program comes with ABSOLUTELY NO WARRANTY.
7 # $Id: Makefile,v 1.3 2001/04/22 21:41:23 tek Exp $
8 #
11 INSTALL_TOP=/usr/local
12 INSTALL_BIN=$(INSTALL_TOP)/bin
13 INSTALL_MAN=$(INSTALL_TOP)/share/man/man1
14 CFLAGS=-Wall -pedantic
15 NOOSEOBJS=main.o nntp.o newsrc.o rl.o
17 noose: $(NOOSEOBJS)
18 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
20 install:
21 install -s -m 755 noose $(INSTALL_BIN)
22 install -m 644 noose.1 $(INSTALL_MAN)
24 clean:
25 rm -f *~ *.o
27 realclean: clean
28 rm -f noose
30 # EOF Makefile#