summaryrefslogtreecommitdiff
path: root/contrib/credential/wincred/Makefile
blob: 39fa5e0c5921124e6331c9008d918e27991f7c85 (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

CC = gcc
RM = rm -f
CFLAGS = -O2 -Wall

-include ../../../config.mak.autogen
-include ../../../config.mak

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