Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MPI_Reduce() is ok except memleak
[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 = bcast bcbench compute compute2 compute3 first second mvmul ring_c split
18 #reduce Not working yet (FIXME)
19
20 bcast: bcast.c
21         $(top_builddir)/src/smpi/smpicc $^ -o $@
22 bcbench: bcbench.c
23         $(top_builddir)/src/smpi/smpicc $^ -o $@
24 compute: compute.c
25         $(top_builddir)/src/smpi/smpicc $^ -o $@
26 compute2: compute2.c
27         $(top_builddir)/src/smpi/smpicc $^ -o $@
28 compute3: compute3.c
29         $(top_builddir)/src/smpi/smpicc $^ -o $@
30 first: mvmul.c
31         $(top_builddir)/src/smpi/smpicc $^ -o $@
32 second: second.c
33         $(top_builddir)/src/smpi/smpicc $^ -o $@
34 reduce: reduce.c
35         $(top_builddir)/src/smpi/smpicc $^ -o $@
36 ring_c: ring_c.c
37         $(top_builddir)/src/smpi/smpicc $^ -o $@
38 split: split.c
39         $(top_builddir)/src/smpi/smpicc $^ -o $@
40 mvmul: mvmul.c
41         $(top_builddir)/src/smpi/smpicc $^ -o $@
42
43 # List the tesh files below
44 TESTS = bcast.tesh
45
46 # No need to change anything after that line
47 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
48 EXTRA_DIST = $(TESTS)
49 CLEANFILES = *~
50
51 include $(top_srcdir)/acmacro/dist-files.mk