summaryrefslogtreecommitdiff
path: root/Make.config
diff options
context:
space:
mode:
Diffstat (limited to 'Make.config')
-rw-r--r--Make.config5
1 files changed, 2 insertions, 3 deletions
diff --git a/Make.config b/Make.config
index 238be3f..29b82ef 100644
--- a/Make.config
+++ b/Make.config
@@ -10,6 +10,7 @@ CFLAGS = -O2
CXXFLAGS = -g -O2 -Wall -Woverloaded-virtual
#CXXFLAGS = -g -ggdb -O0 -Wall -Woverloaded-virtual
+CXXFLAGS += -MMD -MP
# no CXX given at all: force g++
ifeq (x$(CXX)x,xx)
@@ -21,13 +22,11 @@ ifeq ($(CXX),clang++)
CXX = clang
endif
-# set CXXEXTRA and MAKEDEP according to compiler that is used
+# set CXXEXTRA according to compiler that is used
ifeq ($(CXX),clang)
CXXEXTRA = -x c++ -Qunused-arguments
- MAKEDEP = clang -x c++ -M -MM -Qunused-arguments
else
CXXEXTRA =
- MAKEDEP = g++ -MM -MG
endif
#LDFLAGS = -g -ggdb -O0