#
# This is a very rudimentary Makefile to compile the "ice" command-line
# encryption program. It also create a file "deice", which is simply a
# symbolic link to "ice".
#
# For this to work, libice.a must exist in the directory above.
# Installation is left as an exercise for the reader.
#
# Written by Matthew Kwan, November 1996
#

CC =		gcc
CPPFLAGS =	-O -I..
LDFLAGS =	-L.. -lice

ice:		main.o deice
		$(CC) -o $@ $< $(LDFLAGS)

deice:
		@if [ ! -h deice ] ; then ln -s ice deice ; fi

clean:
		rm -f *.o ice deice
