We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48dd1da commit 334d28aCopy full SHA for 334d28a
Makefile
@@ -735,9 +735,13 @@ gitk-wish: gitk GIT-GUI-VARS
735
chmod +x $@+ && \
736
mv -f $@+ $@
737
738
-git$X: git.c common-cmds.h $(BUILTIN_OBJS) $(GITLIBS) GIT-CFLAGS
+git.o: git.c common-cmds.h GIT-CFLAGS
739
+ $(QUIET_CC)$(CC) -DGIT_VERSION='"$(GIT_VERSION)"' \
740
+ $(ALL_CFLAGS) -c $(filter %.c,$^)
741
+
742
+git$X: git.o $(BUILTIN_OBJS) $(GITLIBS)
743
$(QUIET_LINK)$(CC) -DGIT_VERSION='"$(GIT_VERSION)"' \
- $(ALL_CFLAGS) -o $@ $(filter %.c,$^) \
744
+ $(ALL_CFLAGS) -o $@ $(filter %.c,$^) git.o \
745
$(BUILTIN_OBJS) $(ALL_LDFLAGS) $(LIBS)
746
747
help.o: common-cmds.h
0 commit comments