#
#
#  Makefile for simulated annealing problems in sisal

#  Carol Osterbrock
#
#

IF1S = tsp.if1 initialize.if1 anneal.if1 switch.if1 choose.if1 \
	crossovers.if1 random.if1

EXEC = tsp

SC = /usr/new/sisal/Osc/bin/osc

#
#
#  Main program
#
#
$(EXEC): $(IF1S)
	$(SC) -cc='-Olimit 2000' -v -seq -copyinfo -bounds -o $(EXEC) $(IF1S)

tsp.if1: tsp.sis anneal.sish rand.sish
	$(SC) -IF1 -bounds tsp.sis

initialize.if1: initialize.sis anneal.sish rand.sish
	$(SC) -IF1 -bounds initialize.sis

anneal.if1: anneal.sis anneal.sish rand.sish
	$(SC) -IF1 -bounds anneal.sis

switch.if1: switch.sis anneal.sish rand.sish
	$(SC) -IF1 -bounds switch.sis

choose.if1: choose.sis anneal.sish rand.sish
	$(SC) -IF1 -bounds choose.sis

crossovers.if1: crossovers.sis anneal.sish rand.sish
	$(SC) -IF1 -bounds crossovers.sis

random.if1: random.sis rand.sish
	$(SC) -IF1 -bounds random.sis

print:
	enscript -2rGh tsp.sis
	enscript -2rGh anneal.sish
	enscript -2rGh initialize.sis
	enscript -2rGh anneal.sis
	enscript -2rGh switch.sis
	enscript -2rGh choose.sis
	enscript -2rGh crossovers.sis





