Commit | Line | Data |
---|---|---|
a6253da0 EFL |
1 | all: git-credential-wincred.exe |
2 | ||
a6253da0 EFL |
3 | -include ../../../config.mak.autogen |
4 | -include ../../../config.mak | |
5 | ||
248b68f3 PT |
6 | CC ?= gcc |
7 | RM ?= rm -f | |
8 | CFLAGS ?= -O2 -Wall | |
9 | ||
ccfb5bda PT |
10 | prefix ?= /usr/local |
11 | libexecdir ?= $(prefix)/libexec/git-core | |
12 | ||
13 | INSTALL ?= install | |
14 | ||
a6253da0 EFL |
15 | git-credential-wincred.exe : git-credential-wincred.c |
16 | $(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@ | |
17 | ||
ccfb5bda PT |
18 | install: git-credential-wincred.exe |
19 | $(INSTALL) -m 755 $^ $(libexecdir) | |
20 | ||
a6253da0 EFL |
21 | clean: |
22 | $(RM) git-credential-wincred.exe |