Merge branch 'kb/path-max-must-go'
[git/mingw/j6t.git] / contrib / credential / gnome-keyring / Makefile
blobc3c7c98aa126470a4794903bc1e6b3be9b6d58cf
1 MAIN:=git-credential-gnome-keyring
2 all:: $(MAIN)
4 CC = gcc
5 RM = rm -f
6 CFLAGS = -g -O2 -Wall
8 -include ../../../config.mak.autogen
9 -include ../../../config.mak
11 INCS:=$(shell pkg-config --cflags gnome-keyring-1 glib-2.0)
12 LIBS:=$(shell pkg-config --libs gnome-keyring-1 glib-2.0)
14 SRCS:=$(MAIN).c
15 OBJS:=$(SRCS:.c=.o)
17 %.o: %.c
18 $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -o $@ -c $<
20 $(MAIN): $(OBJS)
21 $(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
23 clean:
24 @$(RM) $(MAIN) $(OBJS)