Skip to content

Commit

Permalink
wincred: add install target
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pat Thoyts authored and Junio C Hamano committed May 14, 2014
1 parent eea5913 commit ccfb5bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contrib/credential/wincred/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,16 @@ 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

0 comments on commit ccfb5bd

Please sign in to comment.