summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-13 06:42:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-13 06:42:17 (GMT)
commit297638a98e8a7f200571d7d794dbb5e0a35ca000 (patch)
treec97fdb7f2025aedd462da74057aaead4b2dacda1 /Makefile
parent8ed9f5d6a785b57549abf09376dfe57ffb31dc24 (diff)
parentace5e97ecdf6a6ad8fd4ba443486fbe0058eb37a (diff)
downloadgit-297638a98e8a7f200571d7d794dbb5e0a35ca000.zip
git-297638a98e8a7f200571d7d794dbb5e0a35ca000.tar.gz
git-297638a98e8a7f200571d7d794dbb5e0a35ca000.tar.bz2
Merge branch 'mp/make-cleanse-x-for-exe'
* mp/make-cleanse-x-for-exe: Explicitly set X to avoid potential build breakage
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 87fb30a..c92c2ba 100644
--- a/Makefile
+++ b/Makefile
@@ -460,6 +460,9 @@ PROGRAM_OBJS += http-backend.o
PROGRAM_OBJS += sh-i18n--envsubst.o
PROGRAM_OBJS += credential-store.o
+# Binary suffix, set to .exe for Windows builds
+X =
+
PROGRAMS += $(patsubst %.o,git-%$X,$(PROGRAM_OBJS))
TEST_PROGRAMS_NEED_X += test-chmtime