]> git.tuebingen.mpg.de Git - adu.git/commitdiff
Replace hard-coded gcc by $(CC) in Makefile.deps target.
authorAndre Noll <maan@systemlinux.org>
Mon, 2 Nov 2009 13:42:42 +0000 (14:42 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 2 Nov 2009 13:42:42 +0000 (14:42 +0100)
If the user chooses alternative compiler, she will likely also generate
the dependency file by using that compiler.

Makefile

index 28fb2d4b753846fde5b3b243495b98f3b041c22a..9a0ffb755466804413212d109757897c6e6724c1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ endif
 
 
 Makefile.deps: $(wildcard *.c *.h)
-       gcc -MM -MG *.c > $@
+       $(CC) -MM -MG *.c > $@
 
 -include Makefile.deps