head	1.5;
access;
symbols
	charm6_1:1.5
	charm_6_0_1:1.5
	charm6_0_1:1.5
	charm6_0:1.5
	ChaNGa_1-0:1.5
	charm5_9:1.5;
locks; strict;
comment	@# @;


1.5
date	2004.10.19.02.04.22;	author wilmarth;	state Exp;
branches;
next	1.4;

1.4
date	2004.09.20.21.33.47;	author jagadish;	state Exp;
branches;
next	1.3;

1.3
date	2004.09.15.05.12.19;	author gzheng;	state Exp;
branches;
next	1.2;

1.2
date	2004.08.18.05.03.42;	author jagadish;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.11.21.00.05;	author jagadish;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Moved -Dcompile out of OPTS and onto the appropriate lines so we can build without -g and with -O for a change!!! Augh!
@
text
@OPTS=-g #-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1

include ../Makefile.common

LIBS=-Lstdc++ -lm

RedStorm: $(OBJDIR)/DirectionOrdered3D.o

HypCubeArch: $(OBJDIR)/HammingDistance.o

HypCubeArchOB: $(OBJDIR)/HammingDistance.o

BlueGene: $(OBJDIR)/TorusRouting.o

IB: $(OBJDIR)/UpDown.o

OB: $(OBJDIR)/UpDown.o

$(OBJDIR)/DirectionOrdered3D.o: DirectionOrdered3D.C DirectionOrdered3D.h
	$(CHARMC) -Dcompile -o $@@ -seq DirectionOrdered3D.C -I$(MACHINE)

$(OBJDIR)/HammingDistance.o: HammingDistance.C HammingDistance.h
	$(CHARMC) -Dcompile -o $@@ -seq HammingDistance.C -I$(MACHINE)

$(OBJDIR)/TorusRouting.o: TorusRouting.C TorusRouting.h
	$(CHARMC) -Dcompile -o $@@ -seq TorusRouting.C -I$(MACHINE)

$(OBJDIR)/UpDown.o: UpDown.C UpDown.h
	$(CHARMC) -Dcompile -o $@@ -seq UpDown.C -I$(MACHINE)

clean:
	rm -f charmrun conv-host *.o
	rm -f *.def.h *.decl.h
	rm -f $(PGM) $(PGM).pure $(PGM).proj $(PGM).summary
	rm -f gmon.out #*#
	rm -f core *~
	rm -f TAGS *.headers
	rm -f *_sim.*
@


1.4
log
@Added source routing to populate routes
@
text
@d1 1
a1 1
OPTS=-g -Dcompile #-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
d20 1
a20 1
	$(CHARMC) -o $@@ -seq DirectionOrdered3D.C -I$(MACHINE)
d23 1
a23 1
	$(CHARMC) -o $@@ -seq HammingDistance.C -I$(MACHINE)
d26 1
a26 1
	$(CHARMC) -o $@@ -seq TorusRouting.C -I$(MACHINE)
d29 1
a29 1
	$(CHARMC) -o $@@ -seq UpDown.C -I$(MACHINE)
@


1.3
log
@modified make to output to tmp instead of copy into. This is to make sure tempate instantiation works correct on Lemieux.
@
text
@d11 2
@


1.2
log
@Put in output buffering
@
text
@d3 1
a3 5
CHARMBASE=../../../../
CHARMBIN=$(CHARMBASE)/bin
CHARMINC=$(CHARMBASE)/include

CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS) 
d7 1
a7 2
RedStorm: DirectionOrdered3D.o
	cp DirectionOrdered3D.o ../tmp
d9 1
a9 2
HypCubeArch: HammingDistance.o
	cp HammingDistance.o ../tmp
d11 1
a11 2
BlueGene: TorusRouting.o
	cp TorusRouting.o ../tmp
d13 1
a13 2
IB: UpDown.o
	cp UpDown.o ../tmp
d15 1
a15 2
OB: UpDown.o
	cp UpDown.o ../tmp
d17 2
a18 2
DirectionOrdered3D.o: DirectionOrdered3D.C DirectionOrdered3D.h
	$(CHARMC) -o DirectionOrdered3D.o -seq DirectionOrdered3D.C -I$(MACHINE)
d20 2
a21 2
HammingDistance.o: HammingDistance.C HammingDistance.h
	$(CHARMC) -o HammingDistance.o -seq HammingDistance.C -I$(MACHINE)
d23 2
a24 2
TorusRouting.o: TorusRouting.C TorusRouting.h
	$(CHARMC) -o TorusRouting.o -seq TorusRouting.C -I$(MACHINE)
d26 2
a27 2
UpDown.o: UpDown.C UpDown.h
	$(CHARMC) -o UpDown.o -seq UpDown.C -I$(MACHINE)
@


1.1
log
@*** empty log message ***
@
text
@d23 3
@

