Merge branch 'kn/tag-doc-fix' into maint
[git] / contrib / credential / wincred / Makefile
1 all: git-credential-wincred.exe
2
3 -include ../../../config.mak.autogen
4 -include ../../../config.mak
5
6 CC ?= gcc
7 RM ?= rm -f
8 CFLAGS ?= -O2 -Wall
9
10 prefix ?= /usr/local
11 libexecdir ?= $(prefix)/libexec/git-core
12
13 INSTALL ?= install
14
15 git-credential-wincred.exe : git-credential-wincred.c
16         $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
17
18 install: git-credential-wincred.exe
19         $(INSTALL) -m 755 $^ $(libexecdir)
20
21 clean:
22         $(RM) git-credential-wincred.exe