Example charm++/matmul: simplify logic for when to pass blocks
[charm.git] / examples / charm++ / Molecular2D / Makefile
1 CHARMC  =../../../bin/charmc $(OPTS)
2 OPTS    = -O3
3
4 all: mol2d
5
6 mol2d: Patch.o Compute.o
7         $(CHARMC) -language charm++ -o mol2d Patch.o Compute.o
8
9 Patch.o: Patch.C Patch.h Patch.decl.h common.h
10         $(CHARMC) -o Patch.o Patch.C
11
12 Patch.decl.h: Patch.ci
13         $(CHARMC) Patch.ci
14
15 Compute.o: Compute.C Compute.h Patch.decl.h common.h
16         $(CHARMC) -o Compute.o Compute.C
17
18 clean:
19         rm -f *.decl.h *.def.h *.o mol2d charmrun