contrib / credential / gnome-keyring / Makefileon commit Merge branch 'tc/missing-http-proxyauth' (90eea88)
   1MAIN:=git-credential-gnome-keyring
   2all:: $(MAIN)
   3
   4CC = gcc
   5RM = rm -f
   6CFLAGS = -g -O2 -Wall
   7
   8-include ../../../config.mak.autogen
   9-include ../../../config.mak
  10
  11INCS:=$(shell pkg-config --cflags gnome-keyring-1 glib-2.0)
  12LIBS:=$(shell pkg-config --libs gnome-keyring-1 glib-2.0)
  13
  14SRCS:=$(MAIN).c
  15OBJS:=$(SRCS:.c=.o)
  16
  17%.o: %.c
  18        $(CC) $(CFLAGS) $(CPPFLAGS) $(INCS) -o $@ -c $<
  19
  20$(MAIN): $(OBJS)
  21        $(CC) -o $@ $(LDFLAGS) $^ $(LIBS)
  22
  23clean:
  24        @$(RM) $(MAIN) $(OBJS)