autoconf
[Top][All Lists]
Advanced

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

Help with rewriting compile rules.


From: Charles Zhang
Subject: Help with rewriting compile rules.
Date: Thu, 30 Nov 2006 13:33:38 -0800 (PST)

Hi, people, I want to alter the default C compilation steps by introdcuting 
some intermediate preprocessing steps. Which autoconf rule should I change or 
redefine? Or maybe this is an automake problem? I'm new to this. Any help is 
appreciated.

Basically, I want to achieve the following
before: 
    cc -c myprog.c 
    cc -c myprog1.c
    cc -o myprog myprog.o myprog1.o
after:
    cc -E myprog.c > myprog.mc
    mytool -c myprog.mc some_other_file //this generates ".o" files
    cc -o myprog ... ...

thanks a lot.
 
Yawn !!






reply via email to

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