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