| 1 |
# The default target of this Makefile is... |
| 2 |
all:: git-credential-wincred.exe |
| 3 |
|
| 4 |
-include ../../../config.mak.autogen |
| 5 |
-include ../../../config.mak |
| 6 |
|
| 7 |
CC ?= gcc |
| 8 |
RM ?= rm -f |
| 9 |
CFLAGS ?= -O2 -Wall |
| 10 |
|
| 11 |
prefix ?= /usr/local |
| 12 |
libexecdir ?= $(prefix)/libexec/git-core |
| 13 |
|
| 14 |
INSTALL ?= install |
| 15 |
|
| 16 |
git-credential-wincred.exe : git-credential-wincred.c |
| 17 |
$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ |
| 18 |
|
| 19 |
install: git-credential-wincred.exe |
| 20 |
$(INSTALL) -m 755 $^ $(libexecdir) |
| 21 |
|
| 22 |
clean: |
| 23 |
$(RM) git-credential-wincred.exe |