msvc: fix dependencies of compat/msvc.c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 19 Jun 2019 21:06:00 +0000 (14:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 21:03:05 +0000 (14:03 -0700)
The file compat/msvc.c includes compat/mingw.c, which means that we have
to recompile compat/msvc.o if compat/mingw.c changes.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index 6ddece0..473613a 100644 (file)
@@ -414,6 +414,8 @@ else
        BASIC_CFLAGS += -Zi -MDd
 endif
        X = .exe
+
+compat/msvc.o: compat/msvc.c compat/mingw.c GIT-CFLAGS
 endif
 ifeq ($(uname_S),Interix)
        NO_INITGROUPS = YesPlease