X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Makefile;h=4ff3faa4721a269d1649dac6528c1645b46a9681;hb=5639786f3017711d2e38d2a02714afd0c30d7a37;hp=a782409306df85985e1f465eab4bd3cd7fa2cc83;hpb=228c3418356d06d0596408bee1c863e53ca27d58;p=git.git diff --git a/Makefile b/Makefile index a78240930..4ff3faa47 100644 --- a/Makefile +++ b/Makefile @@ -339,7 +339,7 @@ pathsep = : export prefix bindir sharedir sysconfdir gitwebdir localedir -CC = gcc +CC = cc AR = ar RM = rm -f DIFF = diff @@ -452,6 +452,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