A
lgorithmique
N
umérique
D
istribuée
Private GIT Repository
projects
/
loba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update TEST description.
[loba.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index f7e2171d39aec3725b783015e9df3c56e5762d42..5b0d491b840b1293a4a0501b44d0bf4d0539a6b7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-16,7
+16,7
@@
CPPFLAGS += $(CHECK_FLAGS)
#CFLAGS += -fgnu89-inline # workaround simgrid bug
CFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS)
#CFLAGS += -fgnu89-inline # workaround simgrid bug
CFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS)
-
#
CXXFLAGS += -std=c++0x
+CXXFLAGS += -std=c++0x
CXXFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS)
LDFLAGS += -L $(SIMGRID_INSTALL_DIR)/lib
CXXFLAGS += $(OPTIM_FLAGS) $(DEBUG_FLAGS)
LDFLAGS += -L $(SIMGRID_INSTALL_DIR)/lib
@@
-26,7
+26,8
@@
LINK.o = $(CXX) $(CXXFLAGS) $(LDFLAGS) $(TARGET_ARCH)
LDLIBS := -lsimgrid
MAKEDEPEND.FLAGS = $(CPPFLAGS) -MM -MG -MF $@ $<
LDLIBS := -lsimgrid
MAKEDEPEND.FLAGS = $(CPPFLAGS) -MM -MG -MF $@ $<
-MAKEDEPEND.CXX = $(CXX) $(MAKEDEPEND.FLAGS)
+MAKEDEPEND.C = $(CC) $(CFLAGS) $(MAKEDEPEND.FLAGS)
+MAKEDEPEND.CXX = $(CXX) $(CXXFLAGS) $(MAKEDEPEND.FLAGS)
SRC.loba := main.cpp \
communicator.cpp \
SRC.loba := main.cpp \
communicator.cpp \
@@
-73,6
+74,8
@@
realclean: clean
$(RM) $(XML_DEV_FILES)
$(RM) *~
$(RM) $(XML_DEV_FILES)
$(RM) *~
+.%.d: %.c ; $(MAKEDEPEND.C)
+
.%.d: %.cpp ; $(MAKEDEPEND.CXX)
$(FLAVOURED_LOBA):
.%.d: %.cpp ; $(MAKEDEPEND.CXX)
$(FLAVOURED_LOBA):