Re: [OT] automatically write enabled macros of the makefile into a file

2006-08-30 Thread T
On Wed, 30 Aug 2006 20:33:03 -0400, Kamaraju Kusumanchi wrote: > On Wednesday 30 August 2006 12:19, T wrote: >> On Wed, 30 Aug 2006 18:14:33 -0400, Kamaraju Kusumanchi wrote: >> > The code comes with a makefile. The code contains many >> > >> > #ifdef >> > #endif >> > >> > constructs which are pre

Re: [OT] automatically write enabled macros of the makefile into a file

2006-08-30 Thread Kamaraju Kusumanchi
On Wednesday 30 August 2006 12:19, T wrote: > On Wed, 30 Aug 2006 18:14:33 -0400, Kamaraju Kusumanchi wrote: > > The code comes with a makefile. The code contains many > > > > #ifdef > > #endif > > > > constructs which are preprocessed by cpp (The C preprocessor). ... > > > > #ifdef construct1 > >

Re: [OT] automatically write enabled macros of the makefile into a file

2006-08-30 Thread T
On Wed, 30 Aug 2006 18:14:33 -0400, Kamaraju Kusumanchi wrote: > The code comes with a makefile. The code contains many > > #ifdef > #endif > > constructs which are preprocessed by cpp (The C preprocessor). ... > > #ifdef construct1 > write(10,*) 'construct1 is enabled' > #else > write(10,*

[OT] automatically write enabled macros of the makefile into a file

2006-08-30 Thread Kamaraju Kusumanchi
I have a very large code written in fortran 90. The fact that it is written in fortran 90 has nothing to do with the question. I just mentioned it just in case there is a fortran 90 specific solution. The code comes with a makefile. The code contains many #ifdef #endif constructs which are p