A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
still trying to test the tuto
[simgrid.git]
/
doc
/
tuto-msg
/
Makefile
diff --git
a/doc/tuto-msg/Makefile
b/doc/tuto-msg/Makefile
index
4eba98f
..
665ba9c
100644
(file)
--- 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
# 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.
############################################################################
# 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
-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
#############################################
# No change should be mandated past that line
#############################################
@@
-36,6
+36,6
@@
CFLAGS = -std=gnu99 -g -O2 $(WARNINGS) # Use this line to get better performance
$(CC) -I$(strip $(SIMGRID_INSTALL_PATH))/include -L$(strip $(SIMGRID_INSTALL_PATH))/lib/ $(CFLAGS) $^ -lsimgrid -o $@
clean:
$(CC) -I$(strip $(SIMGRID_INSTALL_PATH))/include -L$(strip $(SIMGRID_INSTALL_PATH))/lib/ $(CFLAGS) $^ -lsimgrid -o $@
clean:
- rm -f *.o *~ masterworker
+ rm -f *.o *~ masterworker
masterworker-sol1 masterworker-sol2 masterworker-sol3 masterworker-sol4
.PHONY: clean
.PHONY: clean