summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorJamie Couture <jamie.couture@gmail.com>2012-11-17 13:02:17 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-04 09:25:24 -0500
commitca59b26dfd6e5bed6622fad2c57d57083714f9e7 (patch)
treebea135c1e603b0986f6b986c11727b59946c9ecb /contrib
parentfac4da38a074a831e2ef2476dde23a6bc073cc28 (diff)
Makefile: improve dependency generation
Makefile target generation would always be included for any makefile
target that was not clean.  Only care to include the '.deps' directory
when building cgit, rather than generating and including dependencies
when calling other makefile targets.

Heavily borrowed from git's Makefile, but without definitions to test
for the compiler's header dependency feature.  Previous Makefile
implementation never checked for this compiler feature anyway.

  - Removed makecmdgoal 'clean' check
  - Grouped like .PHONY target definitions
  - Place build dependency targets under .SUFFIXES
  - Re-arranged location of library inclusion definitions
  - Use google code mirror instead of github

Signed-off-by: Jamie Couture <jamie.couture@gmail.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions