Skip to content

Commit

Permalink
Fix build when cloned as submodule
Browse files Browse the repository at this point in the history
Steps to reproduce:

    git init
    git submodule add -b master git://github.com/ioquake/ioq3.git
    cd ioq3
    make USE_GIT=1
  • Loading branch information
h3xx committed Mar 30, 2017
1 parent 7ca43cb commit 537d285
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 537d285

Please sign in to comment.