git/contrib/credential/wincred/Makefile
Pat Thoyts 248b68f3f2 wincred: avoid overwriting configured variables
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Acked-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-05-14 10:30:07 -07:00

22 lines
438 B
Makefile

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