summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-02-12 22:42:17 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-12 22:42:17 -0800
commit297638a98e8a7f200571d7d794dbb5e0a35ca000 (patch)
treec97fdb7f2025aedd462da74057aaead4b2dacda1 /Makefile
parentMerge branch 'bw/inet-pton-ntop-compat' (diff)
parentExplicitly set X to avoid potential build breakage (diff)
downloadtgif-297638a98e8a7f200571d7d794dbb5e0a35ca000.tar.xz
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 87fb30aedb..c92c2ba24d 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