summaryrefslogtreecommitdiff
path: root/contrib/credential/osxkeychain/Makefile
blob: 75c07f8be4ae6ece8adb5c7190e4de38891f8787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all:: git-credential-osxkeychain

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

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

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

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