Adding leanmd simplified as an example
[charm.git] / examples / charm++ / ring / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 all: pgm
4
5 pgm:  ring.o
6         $(CHARMC) ring.o  -o pgm -language charm++
7
8 ring.o : ring.C ring.h ring.ci
9         $(CHARMC) -c ring.ci ring.C
10
11 test: pgm
12         ./charmrun +p4 ./pgm $(TESTOPTS)
13
14 bgtest: pgm
15         ./charmrun +p4 ./pgm +x2 +y2 +z2 $(TESTOPTS)
16
17 clean:
18         rm -f conv-host pgm *.def.h *.decl.h *.o *~ charmrun charmrun.exe pgm.exe pgm.pdb pgm.ilk