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