I have changed Makefile of a project and now when I make it, it returns:-
ERROR: "make[2]: *** No rule to make target ../libvmi/driver/.deps/xen.Po. Stop. "
How does Makefile create .Po
files and how can I disable creating it for a certain file like ../libvmi/driver/.deps/xen.c
?
.Po
files are used as part of automake's dependency tracking. They are usually created by config.status
as empty files, which get overwritten by actual dependencies when the compiler is invoked. (automake's approach is to do dependency generation as a side-effect of compilation.)
I've found that running make -k
(-k
is short for --keep-going
) will be enough to unstick the build, once the file whose .Po is missing has been recompiled.