CXX := g++
CPPFLAGS += -I $(SIMGRID_INSTALL_DIR)/include
+CPPFLAGS += -D XBT_LOG_OLD_STYLE
CPPFLAGS += $(CHECK_FLAGS)
#CFLAGS += -std=c99
neighbor.cpp \
options.cpp \
process.cpp \
- statistics.cpp \
version.cpp
SRC.simple_async := simple_async.cpp
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 -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)),)