autoconfiscation -- questions about make usage

Alexandre Oliva aoliva@redhat.com
Wed Jan 30 16:36:00 GMT 2002


On Jan 30, 2002, Nathanael Nerode <neroden@doctormoo.dyndns.org> wrote:

> (They use dashes and .PHONY.)

dashes in macro names are not SUS, but dashes in filenames are,
AFAIK.  If we're really using dashes in macro names, these should
probably be fixed.

As for .PHONY, for make programs that don't understand it, it looks
like a harmless dependency of file .PHONY on other files, so it is
simply ignored.

> This means I am probably going to be writing a small program to
> automatically generate Makefile.in, because there will be huge
> lists of almost identical targets (which could be collapsed with pattern
> rules, but not suffix rules).

Care to explain in advance what kind of targets you're thinking of
generating?  Perhaps we could help save you some work, should someone
think of a way to do it without needing such a program.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list