# File         : Makefile
# Author       : Sung-Hoon Ko
# Created      : Thu Apr  9 12:22:15 1998
# Revision     : ver 1.1
# Updated      : $Date: 1998/08/26 15:10:01 $
# Copyright: Northeast Parallel Architectures Center at Syracuse University 1998


SHELL=/bin/sh

srcdir      = @srcdir@
top_srcdir  = @top_srcdir@

mpiJavaClasses = @top_srcdir@/lib/classes
VPATH = .:${srcdir}

VERSION = @VERSION@

CLASS_PATH = -classpath .:${mpiJavaClasses}:$(JAVA_PATH)/lib/classes.zip:$(JAVA_PATH)/classes


CC = @CC@
CCLIBKEY = @CCLIBKEY@
JAVA_PATH = @JAVA@
JAVA_C = ${JAVA_PATH}/bin/javac

EXECS = PingPongBench



.SUFFIXES:
.SUFFIXES: .c .o .java .class

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

.java.class:
	$(JAVA_C) $(CLASS_PATH) $*.java



all: update  $(EXECS) check

PingPongJava = PingPong.class Clock.class Table.class
PingPongC    = mpi_single.o     log2.o    table.o
 

update: Makefile RunBench

Makefile: Makefile.in
	@echo 
	@echo Please configure the package to generate new makefile ...
	@exit 1

RunBench: RunBench.in
	@echo 
	@echo Please configure the package to generate new runexam ...
	@exit

$(EXECS): $(PingPongJava)
 
 

check: 
	RunBench



clean:
	rm -f *.class core PI* *.jig *.o

distclean:
	rm -f *.rec 

record:

compdep:

compare:

test: 



