This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: broken automatic deps for prefixed object files?


>>> "Markus" == Markus Werle <numerical dot simulation at web dot de> writes:

 Markus> In order to resolve name clashes for object files, some
 Markus> of the object files in my Makefile.am obtain a prefix
 Markus> by using the CPPFLAGS trick

 Markus> some_exectuable_CPPFLAGS = $(AM_CPPFLAGS)

 Markus> This works fine so far, but unfortunately there seems
 Markus> to be something wrong with the .deps files (or an error
 Markus> elsewhere):

 Markus> They only mention the original filename.o not the
 Markus> some_executable-filename.o, so the package ain't
 Markus> rebuilt when files change.

I can't reproduce this.  Which dependency mode are you using?

I'm attaching the test-case I've been using.  Could you modify
it to exhibit your problem?
-- 
Alexandre Duret-Lutz

Attachment: depend5.test
Description: depend5.test


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]