2012-07-27 17:10:06 +00:00
|
|
|
all: git-credential-wincred.exe
|
|
|
|
|
|
|
|
-include ../../../config.mak.autogen
|
|
|
|
-include ../../../config.mak
|
|
|
|
|
2012-10-23 23:15:29 +00:00
|
|
|
CC ?= gcc
|
|
|
|
RM ?= rm -f
|
|
|
|
CFLAGS ?= -O2 -Wall
|
|
|
|
|
2012-10-23 23:15:29 +00:00
|
|
|
prefix ?= /usr/local
|
|
|
|
libexecdir ?= $(prefix)/libexec/git-core
|
|
|
|
|
|
|
|
INSTALL ?= install
|
|
|
|
|
2012-07-27 17:10:06 +00:00
|
|
|
git-credential-wincred.exe : git-credential-wincred.c
|
|
|
|
$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
|
|
|
|
|
2012-10-23 23:15:29 +00:00
|
|
|
install: git-credential-wincred.exe
|
|
|
|
$(INSTALL) -m 755 $^ $(libexecdir)
|
|
|
|
|
2012-07-27 17:10:06 +00:00
|
|
|
clean:
|
|
|
|
$(RM) git-credential-wincred.exe
|