diff --git a/Makefile b/Makefile
index b21d2f14176d08011cea79790eb2246d50787ec9..6e70a6d44c7a9e0070f702987e796c71e4325690 100644 (file)
--- a/Makefile
+++ b/Makefile
PROGRAM_OBJS += http-backend.o
PROGRAM_OBJS += sh-i18n--envsubst.o
+# Binary suffix, set to .exe for Windows builds
+X =
+
PROGRAMS += $(patsubst %.o,git-%$X,$(PROGRAM_OBJS))
TEST_PROGRAMS_NEED_X += test-chmtime