auto generation of make files, best location for tests
- From: Neilen Marais <junkmail@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 29 May 2005 15:18:51 +0200
Hi
I've been using a script called makemake.perl to auto-generate a
makefile with dependency information etc for my f90 project. It's very
easy to use, but does not seem to support multi-dir projects.
Now I'd like to add some unit tests to the codebase. I've put the
tests in a subdirectory in the source tree called tests. The problem
is that the test programs depend on the object files in the main
source directory, so I can't use makemake.perl to create the makefile
for them.
How can I auto-generate a makefile for the tests? Will Automake, or
some other tool do the trick? Or do I need to change my directory
structure somehow?
Thanks
Neilen
-- you know its kind of tragic we
live in the new world but we've lost the magic -- Battery 9
(www.battery9.co.za)
.
- Follow-Ups:
- Re: auto generation of make files, best location for tests
- From: Douglas Cox
- Re: auto generation of make files, best location for tests
- Prev by Date: Re: Book on low level program optimization
- Next by Date: Re: auto generation of make files, best location for tests
- Previous by thread: Book on low level program optimization
- Next by thread: Re: auto generation of make files, best location for tests
- Index(es):
Relevant Pages
|
|