#
# Makefile for nexus_client_server_talk example program.
#
# CVS Information: 
#    $Source: /home/globdev/CVS/globus-current/Globus/Examples/nexus_client_server_talk/Makefile,v $
#    $Date: 1999/03/02 00:37:34 $
#    $Revision: 1.8 $
#    $Author: augart $

##############################################################################
#
#     Modify GLOBUS_DIR to specify your globus installation directory and
#     the globus "flavor:

GLOBUS_DIR = /usr/local/globus/install/development/mips-sgi-irix6.5-64_nothreads_standard_debug/

#
#     You *might* have to change these for curses
#

CURSES_LIB = -lcurses -ltermcap

#
# The rest of the file should not change.
#
##############################################################################

include $(GLOBUS_DIR)/etc/makefile_header

MY_CFLAGS = -I$(GLOBUS_DIR)/include $(CFLAGS)
MY_LDFLAGS = -L$(GLOBUS_DIR)/lib $(GLOBUS_NEXUS_LIBS) $(LDFLAGS) $(LIBS) $(CURSES_LIB)

all:	talk_server talk_client

talk_server:	talk_server.o display.o
	$(PURIFY) $(LD) -o talk_server talk_server.o display.o $(MY_LDFLAGS)

talk_client:	talk_client.o display.o
	$(PURIFY) $(LD) -o talk_client talk_client.o display.o $(MY_LDFLAGS)

talk_server.o talk_client.o display.o:	display.h

.c.o:
	$(CC) $(MY_CFLAGS) -c $*.c

clean:
	$(RM) -rf *.o talk_server talk_client 
