CC = gcc
CFLAGS = 

#Uncomment this if you do not want status meter
#CFLAGS = -DNO_STATUS_METER

objs = newsfetch.o nntp.o net.o opt.o util.o getopt.o
 
newsfetch: $(objs)
	$(CC) -o newsfetch $(objs)
	strip newsfetch

.c.o:
	$(CC) -c $(CFLAGS) $< 

clean:
	rm -f *.o newsfetch

install:
	cp newsfetch /usr/local/bin
	cp newsfetch.1 /usr/man/man1
