X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/2e3129cd655efb5ccfa93000546cefd02b725154..aaf2ef477a8130dece4989e33ceb31706cb122de:/Makefile diff --git a/Makefile b/Makefile index ff9ad97..f142b37 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ CC := gcc CXX := g++ CPPFLAGS += -I $(SIMGRID_INSTALL_DIR)/include +CPPFLAGS += -D XBT_LOG_OLD_STYLE CPPFLAGS += $(CHECK_FLAGS) #CFLAGS += -std=c99 @@ -73,7 +74,6 @@ xml: $(XML_DEV_FILES) clean: $(RM) core core.[0-9]* vgcore.[0-9]* - $(RM) misc_autogen.h $(RM) localversion $(RM) $(OBJ) $(RM) $(DEP) @@ -95,10 +95,6 @@ $(FLAVOURED_LOBA): 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)),)