On 11/29/10 21:48, Segher Boessenkool wrote: >> I.e. extra line with single backslash in the beginning and missing >> '$(wildcard' make's function after object file name. > This isn't caused by GCC, or not directly anyway. Firebird's > make.rules has: > > $(OBJ)/%.o: $(SRC_ROOT)/%.c > $(CC) $(WCFLAGS) -c $(firstword $<) -o $@ > @sed -i -e "1s/:/: \$$(wildcard/" -e "\$$s/\(.*\)/\\1)/" $(patsubst > %.o,%.d,$@) > > Something in that sed command does not work as expected; you should > look at the .d file before it is changed to see what's up (you can give > the -i flag an argument which it will use to make a backup of the original > file before it edits it; e.g. -i.orig will make a bla.d.orig). > Thank you, Segher!