]> git.ipfire.org Git - thirdparty/git.git/blame - contrib/credential/gnome-keyring/Makefile
test-lib: ignore uninteresting LSan output
[thirdparty/git.git] / contrib / credential / gnome-keyring / Makefile
CommitLineData
0e7afb18
PH
1MAIN:=git-credential-gnome-keyring
2all:: $(MAIN)
3
4CC = gcc
5RM = rm -f
6CFLAGS = -g -O2 -Wall
3cddb008 7PKG_CONFIG = pkg-config
0e7afb18
PH
8
9-include ../../../config.mak.autogen
10-include ../../../config.mak
11
3cddb008
HB
12INCS:=$(shell $(PKG_CONFIG) --cflags gnome-keyring-1 glib-2.0)
13LIBS:=$(shell $(PKG_CONFIG) --libs gnome-keyring-1 glib-2.0)
0e7afb18
PH
14
15SRCS:=$(MAIN).c
16OBJS:=$(SRCS:.c=.o)
17
18%.o: %.c
19 $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -o $@ -c $<
20
21$(MAIN): $(OBJS)
22 $(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
23
24clean:
25 @$(RM) $(MAIN) $(OBJS)