# Makefile for news	Intruder@link.hacktic.nl

# dir where the news will reside
NEWSDIR =/var/sysnews
# file in $HOME which indicates the last time news was read
NEWSTIME=.news_time

CFLAGS	=-Wall -O6 -m486 -DNEWSDIR=\"$(NEWSDIR)\" -DNEWSTIME=\"$(NEWSTIME)\"
LDFLAGS =-s -N
CC	=gcc

all: news

news: news.o

news.o: news.c

install: all
	install -s -m 755 news /usr/ucb
	install news.1 /usr/man/man1
clean:
	rm -f news news.o
