]> git.sesse.net Git - stockfish/blobdiff - src/Makefile
Improve history updates
[stockfish] / src / Makefile
index c1dab86ba03d85156d1c85034710e5910df47852..d92854bca193e71f83c1d457a832391f7addfcd5 100644 (file)
@@ -368,7 +368,7 @@ ifeq ($(COMP),mingw)
                CXX=g++
        endif
 
-       CXXFLAGS += -Wextra -Wshadow
+       CXXFLAGS += -pedantic -Wextra -Wshadow
        LDFLAGS += -static
 endif
 
@@ -912,7 +912,7 @@ icc-profile-use:
        EXTRACXXFLAGS='-prof_use -prof_dir ./profdir' \
        all
 
-.depend:
+.depend: $(SRCS)
        -@$(CXX) $(DEPENDFLAGS) -MM $(SRCS) > $@ 2> /dev/null
 
 -include .depend