From: Andre Noll Date: Mon, 2 Nov 2009 13:42:42 +0000 (+0100) Subject: Replace hard-coded gcc by $(CC) in Makefile.deps target. X-Git-Tag: v0.1.0~5 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=c1bef07ef61d3266e7ab1f1e738d9c29c3516f89;p=adu.git Replace hard-coded gcc by $(CC) in Makefile.deps target. If the user chooses alternative compiler, she will likely also generate the dependency file by using that compiler. --- diff --git a/Makefile b/Makefile index 28fb2d4..9a0ffb7 100644 --- 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