CXX := g++
CPPFLAGS += -I $(SIMGRID_INSTALL_DIR)/include
+CPPFLAGS += -D XBT_LOG_OLD_STYLE
CPPFLAGS += $(CHECK_FLAGS)
#CFLAGS += -std=c99
clean:
$(RM) core core.[0-9]* vgcore.[0-9]*
- $(RM) misc_autogen.h
$(RM) localversion
$(RM) $(OBJ)
$(RM) $(DEP)
mv -f -- loba $@
$(MAKE) clean
-misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h
- 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)))
ifeq ($(filter $(MAKECMDGOALS),full clean realclean $(FLAVOURED_LOBA)),)