On 09/10/14 11:31, Maxim Yegorushkin wrote:

[]

What happens is that make correctly identifies that data_access.cc
depends
on data_access.reflect.h, finds an implicit rule that generates
data_access.reflect.h, rebuilds the dependencies of
data_access.reflect.h
but neglects to build data_access.reflect.h itself.

[]

It turned out data_access.reflect.h was treated as an intermediate file and hence make did not want to create it. data_access.cc itself is considered an intermediate file.

The fix was to make data_access.o depend on data_access.reflect.h because data_access.o is not an intermediate file.

Maxim



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to