X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/21f441b8a30d8a4399fd0da29c967c9032ff9b77..a66f9dfbda188f773b18fb9dfdb26ae9956503cc:/examples/alnem/Makefile.am diff --git a/examples/alnem/Makefile.am b/examples/alnem/Makefile.am index bf14c562be..694b0f62c2 100644 --- a/examples/alnem/Makefile.am +++ b/examples/alnem/Makefile.am @@ -1,8 +1,9 @@ DISTCLEANFILES=Makefile.in INCLUDES= -I$(top_srcdir)/src/include #-I../../src -I../../nws_portability/Include @CFLAGS_SimGrid@ +AM_CFLAGS=-g -noinst_PROGRAMS=alnem_simulator alnem_sensor alnem_maestro +check_PROGRAMS=alnem_simulator alnem_sensor alnem_maestro alnem_simulator_SOURCES= _alnem_simulator.c alnem.c alnem_sensor_SOURCES= _alnem_sensor.c alnem.c @@ -16,12 +17,10 @@ alnem_maestro_LDADD= $(top_srcdir)/src/base/libgrasrl.a $(top_srcdir)/src/m bin_PROGRAMS=alnem_builder alnem_builder_LDADD= @LIBS_SimGrid@ -# cleanup temps -CLEANFILES= _alnem_simulator.c _alnem_sensor.c _alnem_maestro.c - -# generate temps -_alnem_sensor.c _alnem_maestro.c _alnem_simulator.c: alnem_deployment.txt - ../gras_stub_generator alnem alnem_deployment.txt >/dev/null +# Take care of generatated sources +NAME=alnem +PROCESSES=sensor maestro +include $(top_srcdir)/examples/temps-gras-stub.mk