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


1.7
date	2009.02.03.17.43.55;	author gzheng;	state Exp;
branches;
next	1.6;
commitid	DNQbPKCPVRVlW0Bt;

1.6
date	2007.10.17.01.08.12;	author gzheng;	state Exp;
branches;
next	1.5;
commitid	2cbb471560714567;

1.5
date	2007.09.20.20.38.47;	author bhatele;	state Exp;
branches;
next	1.4;
commitid	110846f2da544567;

1.4
date	2005.02.07.19.39.19;	author bohm;	state Exp;
branches;
next	1.3;

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

1.2
date	2004.10.13.03.28.06;	author olawlor;	state Exp;
branches;
next	1.1;

1.1
date	2004.09.29.19.16.00;	author bohm;	state Exp;
branches;
next	;


desc
@@


1.7
log
@added ./
@
text
@# modify the path of CHARMC
CHARMC=../../../bin/charmc $(OPTS)

all: pgm

pgm: pgm.o
	$(CHARMC) pgm.o  -o pgm -language charm++

test: pgm
	./charmrun +p4 ./pgm 1000000 100 $(TESTOPTS)

bgtest: pgm
	./charmrun +p4 ./pgm 1000000 100 +x2 +y2 +z2


# compile program with trace projections - performance trace library
pgm_prof: pgm.o
	$(CHARMC) pgm.o  -o pgm_prof -language charm++ -tracemode projections

pgm.o : pgm.C pgm.h pgm.def.h
	$(CHARMC) -c pgm.C

pgm.decl.h pgm.def.h: pgm.ci
	$(CHARMC)  pgm.ci

clean:
	rm -f pgm pgm_prof *.o conv-host *.decl.h *.def.h *~ charmrun *.log *.sts core
@


1.6
log
@added TESTOPTS
@
text
@d10 1
a10 1
	./charmrun +p4 pgm 1000000 100 $(TESTOPTS)
d13 1
a13 1
	./charmrun +p4 pgm 1000000 100 +x2 +y2 +z2
@


1.5
log
@"all" target added
@
text
@d10 1
a10 1
	./charmrun +p4 pgm 1000000 100
@


1.4
log
@Set all target as default rather than test.
So people don't run straight into charmrun problems just trying to build.
@
text
@d4 2
a8 1

@


1.3
log
@setup bgtest for bigsim
@
text
@d4 4
a13 2
pgm: pgm.o
	$(CHARMC) pgm.o  -o pgm -language charm++
@


1.2
log
@Added "test" targets to all Makefiles.
@
text
@d7 3
@


1.1
log
@moving from pgms
@
text
@d2 4
a5 1
CHARMC=../../../../bin/charmc $(OPTS)
@

