Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
45d03f48b2ffc73694511edb26522dc10e730f5f
[simgrid.git] / examples / smpi / Makefile.am
1 # Copyright (c) 2004-2007. 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 #INCLUDES  = -I$(top_srcdir)/include
9 #AM_CFLAGS = -g
10
11 # For each test and/or example:
12 #  - add the binary name into the noinst_PROGRAMS variable
13 #  - add a rule to compile the program, inspired from the existing ones
14
15 noinst_PROGRAMS = bcast bcbench compute compute2 compute3 first second mvmul ring_c split
16 #reduce Not working yet (FIXME)
17
18 bcast: bcast.c
19         $(top_builddir)/src/smpi/smpicc $^ -o $@
20 bcbench: bcbench.c
21         $(top_builddir)/src/smpi/smpicc $^ -o $@
22 compute: compute.c
23         $(top_builddir)/src/smpi/smpicc $^ -o $@
24 compute2: compute2.c
25         $(top_builddir)/src/smpi/smpicc $^ -o $@
26 compute3: compute3.c
27         $(top_builddir)/src/smpi/smpicc $^ -o $@
28 first: mvmul.c
29         $(top_builddir)/src/smpi/smpicc $^ -o $@
30 second: second.c
31         $(top_builddir)/src/smpi/smpicc $^ -o $@
32 reduce: reduce.c
33         $(top_builddir)/src/smpi/smpicc $^ -o $@
34 ring_c: ring_c.c
35         $(top_builddir)/src/smpi/smpicc $^ -o $@
36 split: split.c
37         $(top_builddir)/src/smpi/smpicc $^ -o $@
38 mvmul: mvmul.c
39         $(top_builddir)/src/smpi/smpicc $^ -o $@
40
41 # List the tesh files below
42 TESTS = 
43
44 # No need to change anything after that line
45 TESTS_ENVIRONMENT = $(top_builddir)/tools/tesh/tesh
46 EXTRA_DIST = $(TESTS)
47 CLEANFILES = *~
48
49 include $(top_srcdir)/acmacro/dist-files.mk