After running configure on Solaris 2.8 and using the Sun cc compiler, the lib/ directory Makefile has
this gcc-only dependency generator:
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
...
I wish I knew the alternate method, of just using make depend. Or can I just ditch these lines?
The truth is, though, do the vast majority of people care about dependency generation?
I want to build expat because I will be using the Perl module HTML::Parser. I will probably never
fiddle with the source to expat; if there are fixes, I will download an entirely new set of sources,
and compile it from scratch. I don't care about compiling everything all over again, because that's
exactly what I'll always be doing.
Anyway, if no dependency information is generated at all, can't I still build a binary?
Logged In: YES
user_id=3066
Greg already fixed this in the CVS version. You can make the compilation lines just this:
.c.o:
$(COMPILE) -c $<
.c.lo:
$(LTCOMPILE) -c $<