Fix build when cloned as submodule

Steps to reproduce:

    git init
    git submodule add -b master git://github.com/ioquake/ioq3.git
    cd ioq3
    make USE_GIT=1
This commit is contained in:
Dan Church 2017-03-30 16:04:53 -05:00
parent 7ca43cb0be
commit 537d28556f
No known key found for this signature in database
GPG Key ID: EA2BF379CD2CDBD0
1 changed files with 3 additions and 3 deletions

View File

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