added bgstacksize for bgtest
[charm.git] / examples / charm++ / queens / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 all: pgm
4
5 pgm:   counter.o pgm.o
6         $(CHARMC) counter.o pgm.o -o pgm -language charm++ 
7
8 pgm.o : pgm.C pgm.h Pgm.def.h Pgm.decl.h
9         $(CHARMC) -c pgm.C
10
11 counter.o : counter.C counter.h Counter.def.h Counter.decl.h
12         $(CHARMC) -c counter.C
13
14 Pgm.def.h Pgm.decl.h : pgm.ci
15         $(CHARMC) pgm.ci
16
17 Counter.def.h Counter.decl.h : counter.ci
18         $(CHARMC) counter.ci
19
20 clean:
21         rm -f conv-host *.o charmrun
22         rm -f *.def.h *.decl.h
23         rm -f pgm pgm.*.log pgm.sts
24         rm -f gmon.out #*#
25         rm -f core *~
26         rm -f TAGS *.headers
27
28
29 test: pgm
30         ./charmrun ./pgm +p4 10 7 $(TESTOPTS)
31
32 bgtest: pgm
33         ./charmrun ./pgm +p4 10 7 +x2 +y2 +z2 +bgstacksize 102400 $(TESTOPTS)
34