mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 11:36:51 +08: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:
committed by
Joost VandeVondele
parent
c2d507005c
commit
20b0226462
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user