mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
Merge branch 'sk/wincred'
* sk/wincred: wincred: avoid overwriting configured variables wincred: add install target
This commit is contained in:
commit
45dc292716
|
@ -1,14 +1,22 @@
|
|||
all: git-credential-wincred.exe
|
||||
|
||||
CC = gcc
|
||||
RM = rm -f
|
||||
CFLAGS = -O2 -Wall
|
||||
|
||||
-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
|
||||
|
|
Loading…
Reference in a new issue