From: John Keeping Date: Wed, 6 Mar 2013 21:22:08 +0000 (+0000) Subject: cgit.mk: don't rebuild everything if CGIT_VERSION changes X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/d6768a67093166810621d2521f10fd016bd75721?hp=d6768a67093166810621d2521f10fd016bd75721 cgit.mk: don't rebuild everything if CGIT_VERSION changes If CGIT_VERSION is in CGIT_CFLAGS then a change in version (for example because you have committed your changes) causes all of the CGit objects to be rebuilt. Avoid this by using EXTRA_CPPFLAGS to add the version for only those files that are affected and make them depend on VERSION. Signed-off-by: John Keeping ---