############################################################# # Edit this variable to install the examples in the # # executable path for PVM tasks. # ############################################################# PVMBIN = /users/pvm/bin/$(PVM_ARCH) PVMLIB = $(PVM_ROOT)/lib/$(PVM_ARCH)/libpvm3.a PGLIB = $(PVM_ROOT)/lib/$(PVM_ARCH)/libpgpvm2.a SDIR = .. LIBS = $(PGLIB) $(PVMLIB) $(ARCHLIB) F77 = f77 FFLAGS = -g FLIBS = $(PVM_ROOT)/lib/$(PVM_ARCH)/libfpvm3.a default: fmaster fslave all: fmaster fslave install: fmaster fslave $(PVMBIN): - mkdir $(PVMBIN) fmaster: $(SDIR)/master1.f $(PVMBIN) $(F77) $(FFLAGS) -o $(PVMBIN)/master1 $(SDIR)/master1.f $(FLIBS) $(LIBS) strip $(PVMBIN)/master1 fslave: $(SDIR)/slave1.f $(PVMBIN) $(F77) $(FFLAGS) -o $(PVMBIN)/slave1 $(SDIR)/slave1.f $(FLIBS) $(LIBS) strip $(PVMBIN)/slave1 clean : rm -f $(PVMBIN)/master1 $(PVMBIN)/slave1