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:
1 file changed
+3
-3
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user