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 committed 2017-03-30 16:10:40 -05:00
1 parent 7ca43cb0be
commit 537d28556f
1 file changed
+3 -3
+3 -3
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