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


SHELL=/bin/sh

srcdir      = @srcdir@
top_srcdir  = @top_srcdir@

VPATH = .:${srcdir}

VERSION = @VERSION@

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

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

EXECS = MetSpin 



.SUFFIXES:
.SUFFIXES: .java .class

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



all: update  $(EXECS) ##check


GUI=     MonteGraphics.class MetroInputs.class
BOTH=    Init.class Measure.class 
PAR=     Edges.class Domain.class 
METROP=  Metrop.class
CLUSTER= SWcluster.class 
##RAND=    random.class
RAND=    Prand.class


METSPIN=  $(GUI) $(BOTH) $(PAR) $(RAND) $(METROP)  
SWSPIN=   $(BOTH) $(PAR) $(LABEL) $(RAND) $(CLUSTER) 


update: Makefile RunIsing

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

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

MetSpin: $(METSPIN)
	@echo

check: 
	RunIsing



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

distclean:
	rm -f *.rec 

record:

compdep:

compare:

test: 


