mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Fix a dependency bug
Instead of allowing .depend for specific build-related targets, filter non-build-related targets (i.e. help, clean) so that other targets can normally execute .depend target. closes https://github.com/official-stockfish/Stockfish/pull/4293 No functional change
This commit is contained in:
parent
c2d507005c
commit
20b0226462
1 changed files with 1 additions and 1 deletions
|
@ -1009,6 +1009,6 @@ icc-profile-use:
|
|||
.depend: $(SRCS)
|
||||
-@$(CXX) $(DEPENDFLAGS) -MM $(SRCS) > $@ 2> /dev/null
|
||||
|
||||
ifneq (, $(filter $(MAKECMDGOALS), build profile-build))
|
||||
ifeq (, $(filter $(MAKECMDGOALS), help strip install clean net objclean profileclean config-sanity))
|
||||
-include .depend
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue