Code Comments
Programming Forum and web based access to our favorite programming groups.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)
Post Follow-up to this messageOn Sun, 29 May 2005 15:18:51 +0200, Neilen Marais <junkmail@chatsubo.lagged.za.net> wrote: >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. Try mkmf.pl http://www.gfdl.noaa.gov/%7Evb/mkmf.html Doug
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.