]> git.tuebingen.mpg.de Git - paraslash.git/commit
build: Remove duplicates from $all_objs.
authorAndre Noll <maan@systemlinux.org>
Fri, 13 Sep 2013 03:13:38 +0000 (03:13 +0000)
committerAndre Noll <maan@systemlinux.org>
Sun, 1 Dec 2013 10:51:58 +0000 (11:51 +0100)
commita023966d9a3ad295f0fc986a0e01cabfaf3d6742
tree90102b0929003da56123621ccdec805d012f54bc
parentd2fc4df064859b22fb816bdf0313dbea84238ea7
build: Remove duplicates from $all_objs.

In Makefile.in $all_objs is defined as the concatenation of the
object lists of all executables. This variable is used to determine
the set of dependency files to include. Since the concatenation
contains common objects more than once, we currently include common
dependencies multiple times.

This is not a problem, but it may slow down the build. The make sort
function removes duplicate words, so by sorting $all_objs we make
sure to include each dependency file only once.
Makefile.in