Merge pull request #282 from h3xx/fix-git-dependency

Fix build when cloned as submodule
This commit is contained in:
Tim Angus 2017-03-30 22:22:39 +01:00 committed by GitHub
commit d7a99d5d44

View file

@ -2657,9 +2657,9 @@ $(B)/ded/%.o: $(NDIR)/%.c
# Extra dependencies to ensure the git version is incorporated
ifeq ($(USE_GIT),1)
$(B)/client/cl_console.o : .git/index
$(B)/client/common.o : .git/index
$(B)/ded/common.o : .git/index
$(B)/client/cl_console.o : .git
$(B)/client/common.o : .git
$(B)/ded/common.o : .git
endif