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 preprocessed by cpp (The C preprocessor). ... >> > >> > ... >> program excution, you put: >> >> write(10,*) 'Compiled with construct1=${construct1} >> construct1=${construct2}...' >> >> The ${construct1} & ${construct2} should be populated by make, before >> cpp see them... >> >> > This is definitely a good idea. But I dont know how to do it. Any > pointers?
If you can provide us a *minimum* stripped make file, with 2 defined varibles, and the steps how you go through the make, cpp, maybe somebody here can help... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]