Merge branch 'charm' of charmgit:charm into charm
[charm.git] / examples / charm++ / PUP / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 OBJS = SimplePUP.o
4
5 all: SimplePUP
6
7 SimplePUP: $(OBJS)
8         $(CHARMC) -language charm++ -o SimplePUP $(OBJS)
9
10 SimplePUP.decl.h: SimplePUP.ci
11         $(CHARMC)  SimplePUP.ci
12
13 clean:
14         rm -f *.decl.h *.def.h conv-host *.o SimplePUP charmrun
15
16 SimplePUP.o: SimplePUP.C SimplePUP.h SimpleObject.h SimplePUP.decl.h
17         $(CHARMC) -c SimplePUP.C
18
19 test: all
20         ./charmrun SimplePUP +p4  $(TESTOPTS)
21         ./charmrun SimplePUP +p4  $(TESTOPTS)
22
23 bgtest: all
24         ./charmrun SimplePUP +p4 +x2 +y2 +z1