# $Id: Makefile,v 1.8 2002/01/26 11:53:36 johans Exp $

CC = gcc
CFLAGS = -W -Wall -Wtraditional -O -ansi -pedantic

# Remove the next line if you don't use maildir sub-folders
CFLAGS += -DSUBMAILDIR

# Remove the next line if your system doesn't have strcasestr()
CFLAGS += -DHAVE_STRCASESTR

all:	chk4mail chkimap

install:
	install -c -s -m 755 chk4mail /usr/local/bin/chk4mail
	install -c -s -m 755 chkimap /usr/local/bin/chkimap
	install -c -m 644 chk4mail.1 /usr/local/man/man1/chk4mail.1
	install -c -m 644 chkimap.1 /usr/local/man/man1/chkimap.1

clean:
	rm -f *.o chk4mail chkimap

