osxkeychain: pull make config from top-level directory
commit17a9ac7d6b5f27eb5f8efee324e88db2b6ec9bd6
authorJeff King <peff@peff.net>
Wed, 23 May 2012 17:36:53 +0000 (23 13:36 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 May 2012 17:35:40 +0000 (24 10:35 -0700)
treebfcd91acf96edd78683466918f10758b3321bc94
parentcb8ad289c6b3f774e6e4431a08eb585eadbb8dad
osxkeychain: pull make config from top-level directory

The default compiler and cflags were mostly "works for me"
when I built the original version. We need to be much less
careful here than usual, because we know we are building
only on OS X.  But it's only polite to at least respect the
CFLAGS and CC definitions that the user may have provided
earlier.

While we're at it, let's update our definitions and rules to
be more like the top-level Makefile; default our CFLAGS to
include -O2, and make sure we use CFLAGS and LDFLAGS when
linking.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/credential/osxkeychain/Makefile