build: fix travis MPI/SMP build
[charm.git] / examples / charm++ / jacobi2d-1d-decomposition / Makefile
1 -include ../../common.mk
2 CHARMC=../../../bin/charmc $(OPTS)
3
4 OBJS = jacobi1d.o
5
6 all: jacobi1d
7
8 jacobi1d: $(OBJS)
9         $(CHARMC) -language charm++ -o jacobi1d $(OBJS)
10
11 proj: $(OBJS)
12         $(CHARMC) -language charm++ -tracemode projections -o jacobi1d.prj $(OBJS)
13
14 jacobi1d.o: jacobi1d.C jacobi1d.decl.h
15         $(CHARMC) -c jacobi1d.C
16
17 jacobi1d.decl.h: jacobi1d.ci
18         $(CHARMC)  jacobi1d.ci
19
20 clean:
21         rm -f *.decl.h *.def.h conv-host *.o jacobi1d jacobi1d.prj charmrun *~ *log *projrc *sts
22
23 test: all
24         $(call run, +p4 ./jacobi1d 32 32 4 )
25