From 537d28556ff667dfdad6bbac330d8bea36670c5c Mon Sep 17 00:00:00 2001 From: Dan Church Date: Thu, 30 Mar 2017 16:04:53 -0500 Subject: [PATCH] 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 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5d4347d5..cd98122b 100644 --- a/Makefile +++ b/Makefile @@ -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