| 1 |
# The default target of this Makefile is... |
| 2 |
all:: git-credential-osxkeychain |
| 3 |
|
| 4 |
CC = gcc |
| 5 |
RM = rm -f |
| 6 |
CFLAGS = -g -O2 -Wall |
| 7 |
|
| 8 |
-include ../../../config.mak.autogen |
| 9 |
-include ../../../config.mak |
| 10 |
|
| 11 |
git-credential-osxkeychain: git-credential-osxkeychain.o |
| 12 |
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) \ |
| 13 |
-framework Security -framework CoreFoundation |
| 14 |
|
| 15 |
git-credential-osxkeychain.o: git-credential-osxkeychain.c |
| 16 |
$(CC) -c $(CFLAGS) $< |
| 17 |
|
| 18 |
clean: |
| 19 |
$(RM) git-credential-osxkeychain git-credential-osxkeychain.o |