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


1.7
date	2004.10.22.16.44.04;	author wilmarth;	state Exp;
branches;
next	1.6;

1.6
date	2004.10.20.15.13.43;	author bohm;	state Exp;
branches;
next	1.5;

1.5
date	2004.10.20.03.46.30;	author bohm;	state Exp;
branches;
next	1.4;

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

1.3
date	2004.09.20.21.33.51;	author jagadish;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.7
log
@Moved the -Dcompile to the compile lines... AGAIN!
@
text
@OPTS=-g #-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1


include ../Makefile.common

LIBS=-Lstdc++ -lm


RedStorm: Mesh3D.o
	cp Mesh3D.o ../tmp

HypCubeArch: HyperCube.o
	cp HyperCube.o ../tmp

HypCubeArchOB: HyperCube.o
	cp HyperCube.o ../tmp

BlueGene: Mesh3D.o
	cp Mesh3D.o ../tmp

IB: FatTree.o
	cp FatTree.o ../tmp

OB: FatTree.o
	cp FatTree.o ../tmp

HyperCube.o: HyperCube.C HyperCube.h
	$(CHARMC)  -Dcompile -o HyperCube.o -seq HyperCube.C -I$(MACHINE)

Mesh3D.o: Mesh3D.C Mesh3D.h
	$(CHARMC)  -Dcompile -o Mesh3D.o -seq Mesh3D.C -I$(MACHINE)

FatTree.o: FatTree.C FatTree.h
	$(CHARMC)  -Dcompile -o FatTree.o -seq FatTree.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.6
log
@Missing -Dcompile
@
text
@d1 1
a1 1
OPTS=-g -Dcompile #-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
d28 1
a28 1
	$(CHARMC) -o HyperCube.o -seq HyperCube.C -I$(MACHINE)
d31 1
a31 1
	$(CHARMC) -o Mesh3D.o -seq Mesh3D.C -I$(MACHINE)
d34 1
a34 1
	$(CHARMC) -o FatTree.o -seq FatTree.C -I$(MACHINE)
@


1.5
log
@Added sequential support.
make SEQUENTIAL=1 now builds the sequential version of the simulator.
It turns on the -DSEQUENTIAL_POSE flag, adds the -s to etrans, and
copies libmoduleseqpose to libmodulepose for linking so you get the
sequential pose.
Building without sequential copies the libmoduleorigpose back in so
parallel builds shouldn't be broken.
@
text
@d1 2
a2 1
OPTS=-g #-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
@


1.4
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
@d3 1
a3 5
CHARMBASE=../../../../
CHARMBIN=$(CHARMBASE)/bin
CHARMINC=$(CHARMBASE)/include

CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS) -Dcompile
@


1.3
log
@Added source routing to populate routes
@
text
@d1 1
a1 1
OPTS=-g -Dcompile #-DCMK_OPTIMIZE=1 -DCMK_MEMCHECKS_OFF=1
d7 1
a7 1
CHARMC=$(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS) 
@


1.2
log
@Put in output buffering
@
text
@d18 3
@


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

