2011-12-10 11:53:14 +01:00
|
|
|
all:: git-credential-osxkeychain
|
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
RM = rm -f
|
2012-05-23 19:36:53 +02:00
|
|
|
CFLAGS = -g -O2 -Wall
|
|
|
|
|
|
|
|
-include ../../../config.mak.autogen
|
|
|
|
-include ../../../config.mak
|
2011-12-10 11:53:14 +01:00
|
|
|
|
|
|
|
git-credential-osxkeychain: git-credential-osxkeychain.o
|
2012-05-23 19:36:53 +02:00
|
|
|
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -Wl,-framework -Wl,Security
|
2011-12-10 11:53:14 +01:00
|
|
|
|
|
|
|
git-credential-osxkeychain.o: git-credential-osxkeychain.c
|
|
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) git-credential-osxkeychain git-credential-osxkeychain.o
|