]> AND Private Git Repository - loba.git/blobdiff - Makefile
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Add Makhoul's algorithm.
[loba.git] / Makefile
index 276053128325715e7761bb88b7c0245a81846888..ff9ad97314e8dfd51f85eca7b298cea4d1b6c924 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ $(FLAVOURED_LOBA):
        $(MAKE) clean
 
 misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h
        $(MAKE) clean
 
 misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h
-       grep -C1 '# *define *CLOG' $< \
+       grep '# *define *\(XBT_\)\?CLOG.*_XBT_LOGV' $< \
        | sed 's/CLOG/XCLOG/;s/_XBT_LOGV\(([^)]*)\)/(*\1)/' > $@
 
 version.o: $(patsubst %.cpp,%.o,$(filter-out version.cpp, $(SRC.loba)))
        | sed 's/CLOG/XCLOG/;s/_XBT_LOGV\(([^)]*)\)/(*\1)/' > $@
 
 version.o: $(patsubst %.cpp,%.o,$(filter-out version.cpp, $(SRC.loba)))