X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/180bb2169a8dbe211647c7790736f8a53c7d552f..2e20d073d6a56b5840f6198b91a5983b1c3ef7cb:/doc/tuto-msg/Makefile diff --git a/doc/tuto-msg/Makefile b/doc/tuto-msg/Makefile index 8340d9272c..665ba9c464 100644 --- a/doc/tuto-msg/Makefile +++ b/doc/tuto-msg/Makefile @@ -4,8 +4,8 @@ # http://simgrid.gforge.inria.fr/simgrid/latest/doc/install_yours.html # Some configuration -SIMGRID_INSTALL_PATH = ../.. # Where you installed simgrid -CC = gcc # Your compiler (on Mac, use clang instead) +SIMGRID_INSTALL_PATH ?= ../.. # Where you installed simgrid +CC ?= gcc # Your compiler (on Mac, use clang instead) # No change needed bellow for this tutorial. ############################################################################ @@ -19,8 +19,8 @@ WARNING = -Wshadow -Wcast-align -Waggregate-return -Wmissing-prototypes \ -Wnested-externs -Wpointer-arith -Wwrite-strings WARNING += -Werror # Comment that line to not be in paranoid mode -# CFLAGS = -std=gnu99 -g -O0 $(WARNINGS) # Use this line to make debugging easier -CFLAGS = -std=gnu99 -g -O2 $(WARNINGS) # Use this line to get better performance +# CFLAGS = -std=gnu99 -g -O0 $(WARNINGS) $(EXTRA_CFLAGS) # Use this line to make debugging easier +CFLAGS = -std=gnu99 -g -O2 $(WARNINGS) $(EXTRA_CFLAGS) # Use this line to get better performance # No change should be mandated past that line #############################################