Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ae90f7328d
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (15 sloc) 0.568 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
all:: git-credential-gnomekeyring

CC = gcc

GLIB := glib-2.0
GNOME_KEYRING := gnome-keyring-1

CFLAGS += -g -O0 -Wall

CFLAGS += $(shell pkg-config --cflags $(GLIB))
CFLAGS += $(shell pkg-config --cflags $(GNOME_KEYRING))
LIBS += $(shell pkg-config --libs $(GLIB))
LIBS += $(shell pkg-config --libs $(GNOME_KEYRING))

git-credential-gnomekeyring: git-credential-gnomekeyring.o
$(CC) -o $@ $< $(LIBS)

git-credential-gnomekeyring.o: git-credential-gnomekeyring.c
$(CC) -c $(CFLAGS) $<

clean:
$(RM) git-credential-gnomekeyring git-credential-gnomekeyring.o
Something went wrong with that request. Please try again.