X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fc6485562c7f11b39a3a41e7d4504e4f5c40890a..b477caea7ac98994ae8805cf79c5c6fe45585161:/examples/gras/chrono/Makefile.am diff --git a/examples/gras/chrono/Makefile.am b/examples/gras/chrono/Makefile.am index ec47f5cdf3..211f8404ee 100644 --- a/examples/gras/chrono/Makefile.am +++ b/examples/gras/chrono/Makefile.am @@ -19,7 +19,7 @@ CLEANFILES= _chrono_simulator.c _chrono_multiplier.c # generate temps # A rule to generate the source file each time the deployment file changes -_chrono_multiplier.c _chrono_simulator.c: chrono_deployment.xml ../../../tools/gras/gras_stub_generator - ../../../tools/gras/gras_stub_generator chrono $(srcdir)/chrono_deployment.xml >/dev/null +_chrono_multiplier.c _chrono_simulator.c: chrono_deployment.xml ../../../tools/gras/gras_stub_generator@EXEEXT@ + [ x@EXEEXT@ = x ] || exenv=wine; $$exenv ../../../tools/gras/gras_stub_generator chrono $(srcdir)/chrono_deployment.xml >/dev/null include $(top_srcdir)/acmacro/dist-files.mk