
all : blowfish.o cipher.o ../lib/crypt.a

cflags   = -W -Wall -g
includes = -I./ -I../include
compile  = gcc ${cflags} ${includes}
ld	 = ld -d -r

blowfish.o : blowfish.c blowfish.h
	${compile} -c -o blowfish.o blowfish.c

cipher.o : cipher.c cipher.h
	${compile} -c -o cipher.o cipher.c

../lib/crypt.a : blowfish.o cipher.o
	${ld} -o ../lib/crypt.a blowfish.o cipher.o

clean :
	rm -f *.o
