X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2FMakefile;h=d92854bca193e71f83c1d457a832391f7addfcd5;hb=c31fc8d163ed2c5ff5697206f8a5eef65efa0044;hp=c1dab86ba03d85156d1c85034710e5910df47852;hpb=d61d38586ee35fd4d93445eb547e4af27cc86e6b;p=stockfish diff --git a/src/Makefile b/src/Makefile index c1dab86b..d92854bc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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