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
have the two versions of EP together
[simgrid.git]
/
examples
/
smpi
/
NAS
/
EP
/
Makefile
diff --git
a/examples/smpi/NAS/EP/Makefile
b/examples/smpi/NAS/EP/Makefile
index
217f57d
..
3387d73
100644
(file)
--- a/
examples/smpi/NAS/EP/Makefile
+++ b/
examples/smpi/NAS/EP/Makefile
@@
-5,18
+5,22
@@
BENCHMARKU=EP
include ../config/make.def
OBJS = ep.o randlc.o
include ../config/make.def
OBJS = ep.o randlc.o
+OBJS-S = ep-sampling.o randlc.o
include ../sys/make.common
include ../sys/make.common
-${PROGRAM}: config ${OBJS}
- ${CLINK} ${CLINKFLAGS} -o ${PROGRAM} ${OBJS} ${CMPI_LIB}
+${PROGRAM}: config ${OBJS} ${OBJS-S}
+ ${CLINK} ${CLINKFLAGS} -o ${PROGRAM} ${OBJS} ${CMPI_LIB} -lm
+ ${CLINK} ${CLINKFLAGS} -o ${PROGRAM}-sampling ${OBJS-S} ${CMPI_LIB} -lm
ep.o: ep.c randlc.c mpinpb.h npbparams.h
${CCOMPILE} ep.c
ep.o: ep.c randlc.c mpinpb.h npbparams.h
${CCOMPILE} ep.c
+ep-sampling.o: ep-sampling.c randlc.c mpinpb.h npbparams.h
+ ${CCOMPILE} ep-sampling.c
clean:
- rm -f *.o *~
clean:
- rm -f *.o *~
- - rm -f npbparams.h
core
+ - rm -f npbparams.h