[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Automake suffixes ordering [patch]
From: |
Kevin Ryde |
Subject: |
Automake suffixes ordering [patch] |
Date: |
05 Nov 2000 08:31:20 +1000 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 |
I'd like to propose the patch below to put any $(SUFFIXES) from
Makefile.am at the head of the .SUFFIXES list in Makefile.in.
This would help a certain situation in GMP where either a foo.c or
foo.s is used, according to the configured target. With the whole
.SUFFIXES list sorted, .c is before .s and the ansi2knr rules cause
'make' to want foo.c even if foo.s exists and foo.c doesn't.
In general this change would make it possible to force the suffixes
order should that be necessary. I think having $(SUFFIXES) at the
start (as opposed to the end say) of .SUFFIXES is sensible, since new
suffixes are likely to be sources wanting preprocessing or the like,
rather than new object file types.
If adopted, the following few words might be good for the end of the
suffixes section in the manual.
Any given @code{SUFFIXES} go at the start of the generated
suffixes list, followed by automake generated suffixes not
already in the list.
automake.in.diff
Description: Source code patch
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Automake suffixes ordering [patch],
Kevin Ryde <=