Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Massive mv to use cmake as the default compilation infrastructure.
[simgrid.git] / examples / smpi / Makefile.am
1 # Copyright (c) 2004-2009. The SimGrid team. All right reserved.
2
3 # This file is part of the SimGrid project. This is free software:
4 # You can redistribute and/or modify it under the terms of the
5 # GNU LGPL (v2.1) licence.
6
7
8 # HOW TO ADD A NEW EXAMPLE:
9 #
10 #  - add the binary name into the noinst_PROGRAMS variable
11 #  - add a rule to compile the program, inspired from the existing ones
12 #  - add a tesh file running it in several conditions. 
13 #    Write the file taking the others as example, and after reading
14 #    <simgrid>/tools/tesh/README.tesh
15 #  - List the tesh file in the TESTS variable so that it gets tested on make check
16
17 noinst_PROGRAMS = allreduce bcast bcbench compute compute2 compute3 first pingpong second sendrecv mvmul ring_c split scatter reduce 
18
19 alltoall2: alltoall2.c
20         $(top_builddir)/src/smpi/smpicc $^ -o $@
21 alltoall_basic: alltoall_basic.c
22         $(top_builddir)/src/smpi/smpicc $^ -o $@
23 alltoallv: alltoallv.c
24         $(top_builddir)/src/smpi/smpicc $^ -o $@
25 allreduce: allreduce.c
26         $(top_builddir)/src/smpi/smpicc $^ -o $@
27 bcast: bcast.c
28         $(top_builddir)/src/smpi/smpicc $^ -o $@
29 bcbench: bcbench.c
30         $(top_builddir)/src/smpi/smpicc $^ -o $@
31 compute: compute.c
32         $(top_builddir)/src/smpi/smpicc $^ -o $@
33 compute2: compute2.c
34         $(top_builddir)/src/smpi/smpicc $^ -o $@
35 compute3: compute3.c
36         $(top_builddir)/src/smpi/smpicc $^ -o $@
37 first: mvmul.c
38         $(top_builddir)/src/smpi/smpicc $^ -o $@
39 pingpong: pingpong.c
40         $(top_builddir)/src/smpi/smpicc $^ -o $@
41 second: second.c
42         $(top_builddir)/src/smpi/smpicc $^ -o $@
43 scatter: scatter.c
44         $(top_builddir)/src/smpi/smpicc $^ -o $@
45 reduce: reduce.c
46         $(top_builddir)/src/smpi/smpicc $^ -o $@
47 ring_c: ring_c.c
48         $(top_builddir)/src/smpi/smpicc $^ -o $@
49 split: split.c
50         $(top_builddir)/src/smpi/smpicc $^ -o $@
51 mvmul: mvmul.c
52         $(top_builddir)/src/smpi/smpicc $^ -o $@
53 sendrecv: sendrecv.c
54         $(top_builddir)/src/smpi/smpicc $^ -o $@
55
56 # List the tesh files below
57 TESTS = bcast.tesh reduce.tesh
58
59 # No need to change anything after that line
60 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
61 EXTRA_DIST = $(TESTS) hostfile
62 CLEANFILES = *~
63
64 include $(top_srcdir)/acmacro/dist-files.mk