#
# $Id: Makefile,v 1.5 2001/04/18 00:59:33 dean Exp $
#
# Define this as the short name of the curses library to use (ncurses,curses) 
CURSES	= ncurses

CC	= gcc
CFLAGS	= -Wall -pedantic -O3 -ansi -D`uname` -I /usr/src/lib/libc/stdtime
LDFLAGS	= -s -l$(CURSES)
RM	= rm -f

all:		doorlog

doorlog:	doorlog.o
		$(CC) doorlog.o -o doorlog $(LDFLAGS)

doorlog.o:	doorlog.c doorlog.h config.h Makefile
		$(CC) $(CFLAGS) -c doorlog.c

clean:
		$(RM) doorlog *.o *.core core
