diff options
author | Jamie Couture <jamie.couture@gmail.com> | 2012-11-17 13:02:17 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2013-03-04 09:25:24 -0500 |
commit | ca59b26dfd6e5bed6622fad2c57d57083714f9e7 (patch) | |
tree | bea135c1e603b0986f6b986c11727b59946c9ecb /tests/setup.sh | |
parent | fac4da38a074a831e2ef2476dde23a6bc073cc28 (diff) | |
download | cgit-ca59b26dfd6e5bed6622fad2c57d57083714f9e7.tar.gz cgit-ca59b26dfd6e5bed6622fad2c57d57083714f9e7.tar.bz2 |
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 'tests/setup.sh')
0 files changed, 0 insertions, 0 deletions