X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/b396a13fb52e4f9d595e07a06d9d88cd8cd6a422..4fe47748b018bd1d159839fe9e2bb6685a895e85:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index a80f025..8a6bff4 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,16 @@ DEBUG_FLAGS += -g #DEBUG_FLAGS += -pg CHECK_FLAGS += -Wall -Wextra +CC := gcc CXX := g++ CPPFLAGS += -I $(SIMGRID_INSTALL_DIR)/include CPPFLAGS += $(CHECK_FLAGS) +#CFLAGS += -std=c99 +#CFLAGS += -fgnu89-inline # workaround simgrid bug +CFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS) + #CXXFLAGS += -std=c++0x CXXFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS) @@ -51,8 +56,11 @@ TARGETS := $(DEFAULT_TARGETS) \ all: $(DEFAULT_TARGETS) full: - $(MAKE) $(FLAVOURED_LOBA) - $(MAKE) $(TARGETS) + @for target in $(FLAVOURED_LOBA); do \ + echo $(MAKE) "$$target"; \ + $(MAKE) "$$target"; \ + done + $(MAKE) $(DEFAULT_TARGETS) clean: $(RM) core core.[0-9]* vgcore.[0-9]*