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