Documentation/gitprotocol-v2.txt: fix a slight inconsistency in format
[git/gitster.git] / contrib / credential / gnome-keyring / Makefile
blob22c19df94b8177c6f264f1053f44f5ead259e730
1 MAIN:=git-credential-gnome-keyring
2 all:: $(MAIN)
4 CC = gcc
5 RM = rm -f
6 CFLAGS = -g -O2 -Wall
7 PKG_CONFIG = pkg-config
9 -include ../../../config.mak.autogen
10 -include ../../../config.mak
12 INCS:=$(shell $(PKG_CONFIG) --cflags gnome-keyring-1 glib-2.0)
13 LIBS:=$(shell $(PKG_CONFIG) --libs gnome-keyring-1 glib-2.0)
15 SRCS:=$(MAIN).c
16 OBJS:=$(SRCS:.c=.o)
18 %.o: %.c
19 $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -o $@ -c $<
21 $(MAIN): $(OBJS)
22 $(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
24 clean:
25 @$(RM) $(MAIN) $(OBJS)