--- a/rules.mk.in +++ b/rules.mk.in @@ -158,7 +158,7 @@ Makefile.depends: $(NEOTONIC_ROOT)/rules @touch Makefile.depends @if test "x" != "x$(SOURCE_FILES)"; then \ for II in "$(SOURCE_FILES)"; do \ - gcc -M -MG ${CFLAGS} $$II >> Makefile.depends; \ + $(CC) -M -MG ${CFLAGS} $$II >> Makefile.depends; \ done; \ fi @echo "** (done) "