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


1.4
date	2006.04.05.16.23.43;	author gzheng;	state Exp;
branches;
next	1.3;

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

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

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


desc
@@


1.4
log
@commlib to comlib
@
text
@CHARMC = ../../../../bin/charmc $(OPTS)
MODULES = -module comlib
#OPTS = -tracemode projections

OBJS = test.o benchmark.o

all: pgm benchmark

test: pgm
	./charmrun ./pgm +p4 10

bgtest: pgm
	./charmrun ./pgm +p2 10 +x2 +y2 +z1

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

test.decl.h: test.ci
	$(CHARMC) test.ci

test.o: test.C test.decl.h test.h
	$(CHARMC) -c test.C

benchmark: benchmark.o
	$(CHARMC) -language charm++ -o $@@ benchmark.o $(MODULES)

benchmark.decl.h: benchmark.ci
	$(CHARMC) benchmark.ci

benchmark.o: benchmark.C benchmark.decl.h benchmark.h
	$(CHARMC) -c benchmark.C

clean:
	rm -f *.decl.h *.def.h *.o pgm benchmark charmrun *~

new: clean all
@


1.3
log
@added a bgtest.
@
text
@d2 1
a2 1
MODULES = -module commlib
@


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


1.1
log
@initial creation of test dir from pgms
@
text
@d7 1
a7 1
all: test benchmark
d9 4
a12 1
test: test.o
d31 1
a31 1
	rm -f *.decl.h *.def.h *.o test benchmark charmrun *~
@

