Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
still trying to test the tuto
[simgrid.git] / doc / tuto-msg / Makefile
index 8340d92..665ba9c 100644 (file)
@@ -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
 #############################################