Merge 'msvc-link-crt' into HEAD
[git/mingw/4msysgit.git] / contrib / credential / wincred / Makefile
blob3ce6aba120632b14f3bd8ef77cb8217983bc1cda
1 -include ../../../config.mak.autogen
2 -include ../../../config.mak
4 prefix ?= /usr/local
5 libexecdir ?= $(prefix)/libexec/git-core
7 INSTALL ?= install
9 GIT_CREDENTIAL_WINCRED := git-credential-wincred.exe
11 all: $(GIT_CREDENTIAL_WINCRED)
13 $(GIT_CREDENTIAL_WINCRED): git-credential-wincred.c
14 $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
16 install: $(GIT_CREDENTIAL_WINCRED)
17 $(INSTALL) -m 755 $(GIT_CREDENTIAL_WINCRED) $(libexecdir)
19 clean:
20 $(RM) $(GIT_CREDENTIAL_WINCRED)