[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: preprocessor output target
From: |
Ben Pfaff |
Subject: |
Re: preprocessor output target |
Date: |
Thu, 05 Jun 2008 13:40:41 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Jason Roscoe <address@hidden> writes:
> 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).
I sometimes do:
rm init.o
make CC='gcc -E' init.o
mv init.o init.i
--
Ben Pfaff
http://benpfaff.org