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