# makefile for password client/server application aoe@oeh.net
PROGRAMS 	= athena euripides
CC 	= c89
CFLAGS 	= -migrate 
# debug flags can really bug you at times
LDFLAGS 	= -g -migrate -std1 -check -w0 -I/ali/var/home/local/include/sysprog 
#LDFLAGS 	= -migrate -std1 -w0 -I/ali/var/home/local/include/sysprog 
LIBS 	= -lsem182

all: 	euripides athena

euripides.o: 	euripides.c myauth.h
	$(CC) $(LDFLAGS) -c euripides.c

athena.o: 	athena.c myauth.h
	$(CC) $(LDFLAGS) -c athena.c

euripides:	euripides.o 
	$(CC) $(CFLAGS) -o euripides euripides.o $(LIBS)

athena:	athena.o 
	$(CC) $(CFLAGS) -o athena athena.o $(LIBS)

clean:
	rm -rf *.o *~ athena euripides

