aboutsummaryrefslogtreecommitdiffstats
path: root/make/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'make/Makefile')
-rw-r--r--make/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/make/Makefile b/make/Makefile
index 6386e5b2..c1cc0e90 100644
--- a/make/Makefile
+++ b/make/Makefile
@@ -27,10 +27,13 @@ GMOCK_DIR = ..
USER_DIR = ../test
# Flags passed to the preprocessor.
-CPPFLAGS += -I$(GTEST_DIR)/include -I$(GMOCK_DIR)/include
+# Set Google Test and Google Mock's header directories as system
+# directories, such that the compiler doesn't generate warnings in
+# these headers.
+CPPFLAGS += -isystem $(GTEST_DIR)/include -isystem $(GMOCK_DIR)/include
# Flags passed to the C++ compiler.
-CXXFLAGS += -g -Wall -Wextra
+CXXFLAGS += -g -Wall -Wextra -pthread
# All tests produced by this Makefile. Remember to add new tests you
# created to the list.