Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also loop on a simple malloc and on an integer incrementation to test the precision...
[simgrid.git] / examples / gras / chrono / Makefile.am
1 INCLUDES= -I$(top_srcdir)/include
2 AM_CFLAGS=-g
3 TESTS= test_rl test_sg
4 EXTRA_DIST=chrono_deployment.xml
5
6 # AUTOMAKE variable definition
7 noinst_PROGRAMS=chrono_simulator chrono_multiplier
8
9 chrono_simulator_SOURCES=       _chrono_simulator.c chrono.c
10 chrono_simulator_LDADD= $(top_builddir)/src/libsimgrid.la
11
12 chrono_multiplier_SOURCES=      _chrono_multiplier.c chrono.c
13 chrono_multiplier_LDADD=        $(top_builddir)/src/libgras.la
14
15
16 # cleanup temps
17 CLEANFILES = _chrono_simulator.c _chrono_multiplier.c \
18              chrono.Makefile.local chrono.Makefile.remote chrono.deploy.sh 
19
20 MOSTLYCLEANFILES = chrono.trace
21
22 # generate temps
23
24 # A rule to generate the source file each time the deployment file changes
25 _chrono_multiplier.c _chrono_simulator.c: chrono_deployment.xml ../../../tools/gras/gras_stub_generator@EXEEXT@
26         [ x@EXEEXT@ = x ] || exenv=wine; $$exenv ../../../tools/gras/gras_stub_generator chrono $(srcdir)/chrono_deployment.xml >/dev/null
27
28 ../../../tools/gras/gras_stub_generator@EXEEXT@:
29         make -C   ../../../tools/gras/ gras_stub_generator@EXEEXT@
30
31 include $(top_srcdir)/acmacro/dist-files.mk