]> git.tuebingen.mpg.de Git - paraslash.git/commit
build: Remove depend.sh.
authorAndre Noll <maan@systemlinux.org>
Sat, 12 Jul 2014 11:40:44 +0000 (13:40 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 26 Oct 2014 12:15:54 +0000 (13:15 +0100)
commitfeb3f00938a717061e0b41e76f4c68cdac9a17f7
treec962d5feeb20c87e9039565a6d97b5ddf86e2c04
parent3ea3f8fae5150eb1b718c076071c7ca81563365f
build: Remove depend.sh.

This script was rather clumsy, and it referred to gcc rather than
$(CC) as it should be. This commit adds a command to Makefile.real
that generates the .d files directly, which is not more complicated.

Use the opportunity to add -MP to the $(CC) command which generates
the dependency files. This option works around make errors in case
a header file is removed from the tree.

This change gives another speedup of ~15% for make dep.
Makefile.real
depend.sh [deleted file]