# Checksum
# Mendel Cooper (thegrendel@theriver.com)


CC = gcc
# Change to cc if you don't have gcc installed

FLAGS = -O2 -fomit-frame-pointer
# FLAGS = -O2 -fomit-frame-pointer -mpentium
# As above, if you have a Pentium  ^^^^^^^^^



all: checksum

checksum: checksum.c checksum.h
	$(CC) $(FLAGS) -o checksum checksum.c
	strip checksum


# Must install as root, of course.

install: 
	cp checksum /usr/local/bin
	cp checksum.1 /usr/local/man/man1

clean:
	rm *.o
