X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/596a21890fc3cae8f7ec57c76224b300c246ed1f..205d7a7a1b84d22f885579108d6e0f015c1454a6:/Makefile?ds=inline 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)),)