# 	ECO: Efficient Collective Operations
# 	Beta release 0.1b
# 	Bruce Lowekamp and Adam Beguelin	
# 	School of Computer Science
# 	Carnegie Mellon University
# 	Pittsburgh, PA 15213
# 
# 	(C) 1996 All Rights Reserved
# 
# NOTICE:
# 
#  Permission to use, copy, modify, and distribute this software and
#  its documentation for any purpose and without fee is hereby granted
#  provided that the above copyright notice appear in all copies and
#  that both the copyright notice and this permission notice appear in
#  supporting documentation.
# 
#  Neither Carnegie Mellon University nor the Authors make any
#  representations about the suitability of this software for any
#  purpose.  This software is provided ``as is'' without express or
#  implied warranty.
# 
#  This research is sponsored in part by the Department of Defense
#  Advanced Research Projects Agency and the National Science
#  Foundation.

PVM_BIN=$(HOME)/pvm3/bin
#PVM_BIN=$(PVM_ROOT)/bin

CC=gcc
CFLAGS=-I$(IDIR) -I$(PVM_ROOT)/include $(OPT)
LDFLAGS=-L$(PVM_ROOT)/lib/$(PVM_ARCH) -L$(LDIR) -leco -lpvm3 $(OPT)
PVMLDFLAGS=-L$(PVM_ROOT)/lib/$(PVM_ARCH) -lpvm3 $(OPT)
SDIR=$(ECO_ROOT)/src
IDIR=$(ECO_ROOT)/include
LDIR=$(ECO_ROOT)/lib/$(PVM_ARCH)

minimal:  minimal.o
	$(RM) -f $(PVM_BIN)/$(PVM_ARCH)/minimal minimal
	$(CC) -o $(PVM_BIN)/$(PVM_ARCH)/minimal minimal.o $(LDFLAGS) 
	ln -s $(PVM_BIN)/$(PVM_ARCH)/minimal minimal
