CC=gcc

CPPFLAGS=-I/usr/athena/include

CFLAGS=-g -Wall

LD=gcc

LDFLAGS=-L/usr/athena/lib

LOADLIBES=-lzephyr -lkrb4 -ldes425 -lkrb5 -lcrypto -lcom_err -lhesiod -lm 
#LOADLIBES=-lzephyr -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_err -lhesiod -lm

PROGS=zbot fingertest officetest sendztest

all: ${PROGS}

clean:
	rm -f ${PROGS} *.o

fingertest: finger.o fingertest.o
officetest: office.o officetest.o finger.o errors.o sendz.o
sendztest: sendz.o sendztest.o errors.o

zbot: zbot.o finger.o office.o sendz.o errors.o
	${LD} ${LDFLAGS} zbot.o finger.o office.o sendz.o errors.o ${LOADLIBES} -o zbot

errors.o: errors.h

finger.o: errors.h finger.h

fingertest.o: finger.h

office.o: errors.h finger.h office.h

officetest.o: office.h

sendz.o: errors.h sendz.h

sendztest.o: sendz.h

zbot.o: office.h


