Automake-1.6.3. So I have a Makefile.am that build both PROGRAMS and LTLIBRARIES.
One of the .c modules is used by both a program and a library. I get the warning: automake: foo/Makefile:NN: object `foo.$(OBJEXT)' created both with libtool and without and I'm assuming it's because this case is not being caught by the same code that handles: bin_PROGRAMS = ctags etags ctags_SOURCES = etags.c ctags_CFLAGS = -DCTAGS etags_SOURCES = etags.c etags_CFLAGS = -DETAGS or maybe it would if I had target-specific CFLAGS (which I don't, at present). Suggestions on how I can remedy this problem? H