Properly handle parallel make ("make -j"), and only rerun gyp if necessary.
authorepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 27 Jul 2011 14:06:25 +0000 (14:06 +0000)
committerepoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 27 Jul 2011 14:06:25 +0000 (14:06 +0000)
commitc9493a4a688b22cbfcfb8381a63c58215eab54fe
tree2554eb8712220fbee1836b52eaf8e915575151d4
parent6fc321a18acc8c6437735007240eefe7054e83b0
Properly handle parallel make ("make -j"), and only rerun gyp if necessary.

This should completely resolve http://code.google.com/p/skia/issues/detail?id=330 ('building multiple targets in parallel fails on Linux')

This should resolve http://code.google.com/p/skia/issues/detail?id=313 ('toplevel makefile always reruns gyp_skia') for Linux, but not Mac.  (See details in comments within the file)
Review URL: http://codereview.appspot.com/4827043

git-svn-id: http://skia.googlecode.com/svn/trunk@1968 2bbb7eff-a529-9590-31e7-b0007b416f81
Makefile