X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4e922bca67d7cf4bc30a878cd7cd46d39fbe1573..205d7a7a1b84d22f885579108d6e0f015c1454a6:/Makefile diff --git a/Makefile b/Makefile index 2760531..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 -C1 '# *define *CLOG' $< \ - | 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)),)