X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4e8374a5ef66cc4de33d82c21db1ddd6c1b524b3..d3f512f7aa1edd465ed2a1e8c986f679eebc5e14:/examples/temps-gras-stub.mk diff --git a/examples/temps-gras-stub.mk b/examples/temps-gras-stub.mk index 17ed4ec2cf..76447d6d11 100644 --- a/examples/temps-gras-stub.mk +++ b/examples/temps-gras-stub.mk @@ -1,15 +1,15 @@ ## Generate the temp source files on need ## -$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml ../../../tools/gras/gras_stub_generator@EXEEXT@ - [ x@EXEEXT@ = x ] || exenv=wine; $$exenv ../../../tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME)_deployment.xml >/dev/null +$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME).xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ + [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME).xml -../../../tools/gras/gras_stub_generator@EXEEXT@: - make -C ../../../tools/gras/ gras_stub_generator@EXEEXT@ +$(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@: + make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@ ## ## Cleanups -CLEANFILES = _$(NAME)_simulator.c $(NAME).Makefile.local $(NAME).Makefile.remote $(NAME).deploy.sh \ +CLEANFILES = _$(NAME)_simulator.c $(NAME).mk $(NAME).Makefile.local $(NAME).Makefile.remote $(NAME).deploy.sh \ $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) MOSTLYCLEANFILES = $(NAME).trace