fixes https://github.com/official-stockfish/Stockfish/issues/3658
dependencies are now regenerated for each code change, this adds some 1s overhead in compile time, but avoids potential miscompilations or build problems.
closes https://github.com/official-stockfish/Stockfish/pull/3659
No functional change
EXTRACXXFLAGS='-prof_use -prof_dir ./profdir' \
all
EXTRACXXFLAGS='-prof_use -prof_dir ./profdir' \
all
-@$(CXX) $(DEPENDFLAGS) -MM $(SRCS) > $@ 2> /dev/null
-include .depend
-@$(CXX) $(DEPENDFLAGS) -MM $(SRCS) > $@ 2> /dev/null
-include .depend