Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Vpath fixups: gras_stub_generator is generated. It is thus in builddir, not srcdir
[simgrid.git] / examples / temps-gras-stub.mk
index 1048230..4ef9a4f 100644 (file)
@@ -1,11 +1,11 @@
 ## Generate the temp source files on need
 ##
 
-$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml $(top_srcdir)/tools/gras/gras_stub_generator@EXEEXT@
-       [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_srcdir)/tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME)_deployment.xml >/dev/null
+$(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.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)_deployment.xml >/dev/null
 
-$(top_srcdir)/tools/gras/gras_stub_generator@EXEEXT@:
-       make -C $(top_srcdir)/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