Use $(CC) instead of gcc even when generating dependencies.
This commit is contained in:
parent
620c4f90c9
commit
113694892e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ endif
|
||||||
$(CC) $(CFLAGS) -o $@ -c $<
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
gcc $(CPPFLAGS) -MM $(addprefix $(src-path),$(source)) >depend
|
$(CC) $(CPPFLAGS) -MM $(addprefix $(src-path),$(source)) >depend
|
||||||
|
|
||||||
ifneq ($(wildcard depend),)
|
ifneq ($(wildcard depend),)
|
||||||
include depend
|
include depend
|
||||||
|
|
Loading…
Reference in a new issue