Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the include flags
[simgrid.git] / tools / gras / stub_generator.c
index b7574b9..cd81d1f 100644 (file)
@@ -324,8 +324,8 @@ static void generate_makefile_local(char *project, char *deployment)
          "# Compilation will fail if you don't do so\n" 
          "GRAS_ROOT?= $(shell echo \"\\\"<<<< GRAS_ROOT undefined !!! >>>>\\\"\")\n\n"
          "# You can fiddle the following to make it fit your taste\n"
-         "CFLAGS = -O3 -w -g\n"
          "INCLUDES = -I$(GRAS_ROOT)/include\n"
+         "CFLAGS = -O3 -w -g $(INCLUDES)\n"
          "LIBS_SIM = -lm  -L$(GRAS_ROOT)/lib/ -lsimgrid\n"
          "LIBS_RL = -lm  -L$(GRAS_ROOT)/lib/ -lgras\n"
          "LIBS = \n"