misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h
grep -C1 '# *define *CLOG' $< \
| sed 's/CLOG/XCLOG/;s/_XBT_LOGV\(([^)]*)\)/(*\1)/' > $@
version.o: $(patsubst %.cpp,%.o,$(filter-out version.cpp, $(SRC.loba)))
misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h
grep -C1 '# *define *CLOG' $< \
| sed 's/CLOG/XCLOG/;s/_XBT_LOGV\(([^)]*)\)/(*\1)/' > $@
version.o: $(patsubst %.cpp,%.o,$(filter-out version.cpp, $(SRC.loba)))