# @(#) Makefile 1.5 9/1/91 23:21:21 

# On the CFLAGS line, specify -DUSE_SYSLOG if you want diagnostics to be
# reported via the syslog(3) facility. Otherwise, agetty will report its
# problems to /dev/console.

SHELL	= /bin/sh
CFLAGS	= -s -O # -DUSE_SYSLOG
FILES	= README agetty.c agetty.8 Makefile

agetty: agetty.c
	$(CC) $(CFLAGS) -o $@ $?

clean:
	rm -f agetty.o agetty

shar:	$(FILES)
	@shar $(FILES)

agetty.8:
	srctoman agetty.c >agetty.8
