![]() | |||||||||||||
Messages in this thread |
Michael Elizabeth Chastain <mec@shout.net> writes: |> Hi Andreas, |> mec> In Rules.make, $(SYMTAB_OBJS) lost its dependency on |> mec> $(SYMTAB_OBJS:%.o=%.c). The original rule does cause excessive |> mec> compilation, but by removing this dependency, I believe you completely |> mec> lose the dependency of foo.o on foo.c. The pattern rule %.o : %.c does |> mec> *not* provide a dependency for anything that has explicit dependencies. |> andreas> That's not a problem, the real dependency list comes from the .depend |> andreas> file. |> Go read a .depend file. I checked both 2.82 and 2.1.60 (random version |> from before I rewrote mkdep.c), and neither of them has .depend files |> with dependencies on foo.c. Ok, your right, i confused it with the output of -MD. Anyway, we can still do better with a static pattern rule: $(SYMTAB_OBJS): %.o: %.c $(TOPDIR)/include/linux/modversions.h -- Andreas Schwab "And now for something schwab@issan.informatik.uni-dortmund.de completely different" schwab@gnu.org | ||||||||||||
| Last update: 2005-03-22 12:41 [W:1.252 / U:0.320 seconds] ©2003-2008 Jasper Spaans | |||||||||||||