build: fix travis MPI/SMP build
[charm.git] / examples / charm++ / hello / group / Makefile
bloba774e7ea1987cc93733b870f3924581786230613
1 -include ../../../common.mk
2 CHARMC=../../../../bin/charmc $(OPTS)
4 OBJS = hello.o
6 all: hello
8 hello: $(OBJS)
9 $(CHARMC) -language charm++ -o hello $(OBJS)
11 hello.decl.h: hello.ci
12 $(CHARMC) hello.ci
14 clean:
15 rm -f *.decl.h *.def.h conv-host *.o hello charmrun charmrun.exe hello.exe hello.pdb hello.ilk
17 hello.o: hello.C hello.decl.h
18 $(CHARMC) -c hello.C
20 test: all
21 $(call run, ./hello +p4 10 )
23 bgtest: all
24 $(call run, ./hello +p4 10 +x2 +y2 +z2 )