This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Automatic source filename computation
- From: Akim Demaille <akim at epita dot fr>
- To: Automake List <automake at gnu dot org>
- Date: Thu, 01 Apr 2004 11:48:40 +0200
- Subject: Automatic source filename computation
The fact that Automake infers some source file names from
check_PROGRAMS = test-foo
is really nice. Nevertheless, it is nice to people who program in C,
and less to other languages. Couldn't we look for test-foo.EXT with
EXT ranging a well defined series instead of the hard coded `c'?
I know it's a bit of magic, and it could be compared to globbing
support. I find it weaker though, so more admissible. An alternative
would be a DEFAULT_EXTENSION variable, that's more controlled.