1MAIN:=git-credential-gnome-keyring
2all:: $(MAIN)
34
CC = gcc
5RM = rm -f
6CFLAGS = -g -O2 -Wall
78
-include ../../../config.mak.autogen
9-include ../../../config.mak
1011
INCS:=$(shell pkg-config --cflags gnome-keyring-1)
12LIBS:=$(shell pkg-config --libs gnome-keyring-1)
1314
SRCS:=$(MAIN).c
15OBJS:=$(SRCS:.c=.o)
1617
%.o: %.c
18$(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -o $@ -c $<
1920
$(MAIN): $(OBJS)
21$(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
2223
clean:
24@$(RM) $(MAIN) $(OBJS)