Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Also clean the generated makefile under its new name
[simgrid.git] / examples / temps-gras-stub.mk
1 ## Generate the temp source files on need
2 ##
3
4 $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c) _$(NAME)_simulator.c: $(srcdir)/$(NAME)_deployment.xml $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@
5         [ x@EXEEXT@ = x ] || exenv=wine; $$exenv $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@ $(NAME) $(srcdir)/$(NAME)_deployment.xml >/dev/null
6
7 $(top_builddir)/tools/gras/gras_stub_generator@EXEEXT@:
8         make -C $(top_builddir)/tools/gras/ gras_stub_generator@EXEEXT@
9
10 ##
11 ## Cleanups
12 CLEANFILES = _$(NAME)_simulator.c $(NAME).mk $(NAME).Makefile.local $(NAME).Makefile.remote $(NAME).deploy.sh \
13              $(foreach proc, $(PROCESSES), _$(NAME)_$(proc).c)
14
15 MOSTLYCLEANFILES = $(NAME).trace