1 MAIN
:=git-credential-libsecret
7 PKG_CONFIG
= pkg-config
9 -include ..
/..
/..
/config.mak.autogen
10 -include ..
/..
/..
/config.mak
12 INCS
:=$(shell $(PKG_CONFIG
) --cflags libsecret-1 glib-2.0
)
13 LIBS
:=$(shell $(PKG_CONFIG
) --libs libsecret-1 glib-2.0
)
19 $(CC
) $(CFLAGS
) $(CPPFLAGS
) $(INCS
) -o
$@
-c
$<
22 $(CC
) -o
$@
$(LDFLAGS
) $^
$(LIBS
)
25 @
$(RM
) $(MAIN
) $(OBJS
)