Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 02fe72ca authored by Mathieu Giraud's avatar Mathieu Giraud

Makefiles: put $(CXXFLAGS) everywhere $(CXX) is used

"$(CXX) -M > dep.mk" also needs a "-std=c++11" flag
parent 56cc6bae
......@@ -119,7 +119,7 @@ FORCE:
DEP=$(wildcard dep.mk)
ifeq (${DEP},)
$(shell $(CXX) -M $(MAINCORE) > dep.mk)
$(shell $(CXX) $(CXXFLAGS) -M $(MAINCORE) > dep.mk)
endif
include dep.mk
......@@ -24,6 +24,6 @@ forcedep:
DEP=$(wildcard dep.mk)
ifeq (${DEP},)
$(shell $(CXX) -M $(SRCCORE) > dep.mk)
$(shell $(CXX) $(CXXFLAGS) -M $(SRCCORE) > dep.mk)
endif
include dep.mk
......@@ -24,6 +24,6 @@ forcedep:
DEP=$(wildcard dep.mk)
ifeq (${DEP},)
$(shell $(CXX) -M $(SRCCORE) > dep.mk)
$(shell $(CXX) $(CXXFLAGS) -M $(SRCCORE) > dep.mk)
endif
include dep.mk
......@@ -89,14 +89,14 @@ cleantests:
cleanall: clean cleancoverage cleantests
forcedep:
$(CXX) $(INCLUDE) -M $(SRC) > dep.mk
$(CXX) $(CXXFLAGS) $(INCLUDE) -M $(SRC) > dep.mk
force:
DEP=$(wildcard dep.mk)
ifeq (${DEP},)
$(shell $(CXX) $(INCLUDE) -M $(SRC) > dep.mk)
$(shell $(CXX) $(CXXFLAGS) $(INCLUDE) -M $(SRC) > dep.mk)
endif
include dep.mk
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment