summaryrefslogtreecommitdiffstats
path: root/contrib/credential/osxkeychain/Makefile
blob: 4b3a08a2bac441f3841367d98f425b9b6a5a3598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all:: git-credential-osxkeychain

CC = gcc
RM = rm -f
CFLAGS = -g -O2 -Wall

-include ../../../config.mak.autogen
-include ../../../config.mak

git-credential-osxkeychain: git-credential-osxkeychain.o
	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -Wl,-framework -Wl,Security

git-credential-osxkeychain.o: git-credential-osxkeychain.c
	$(CC) -c $(CFLAGS) $<

clean:
	$(RM) git-credential-osxkeychain git-credential-osxkeychain.o