CC=gcc
CFLAGS=$(RPM_OPTS) -Wall -fomit-frame-pointer -pipe -D_GNU_SOURCE
# my compiler doesn't need -fno-strength-reduce
LDFLAGS=-Wl,-warn-common -s

all:		mingetty
		size mingetty

install:	all
		install -s -m 0755 -o root -g root mingetty /sbin/
		install    -m 0644 -o root -g root mingetty.8 /usr/man/man8/

mingetty:	mingetty.o

clean:
		rm -f *.o mingetty

