Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use temps-gras-stub.mk to cleanup
[simgrid.git] / examples / alnem / Makefile.am
index bf14c56..694b0f6 100644 (file)
@@ -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