[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: preprocessor output target

From: Stepan Kasal
Subject: Re: preprocessor output target
Date: Thu, 5 Jun 2008 17:56:55 +0200
User-agent: Mutt/1.5.17 (2007-11-01)


> was wondering if there is already a macro that will create Makefile targets 
> for getting the preprocessor output.  For example, if I have a source file 
> called init.c, I would like to be able to type something like 'make init.i' 
> and get the output of the preprocessor only (e.g., gcc -E).  The main 

I'm not aware about anything like that.

For my debugging needs, for example, it was always enough to cut and
paste the command which failed, with -E, without -c -o something.o
and direct the output to less.

Stepan Kasal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]