How can i print the compilation options on making several C files using GCC and make
        Posted  
        
            by Renjith G
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Renjith G
        
        
        
        Published on 2010-03-18T14:38:10Z
        Indexed on 
            2010/03/18
            14:41 UTC
        
        
        Read the original article
        Hit count: 307
        
Filed under: 
        c
I want to print my whole file compilation options on make in my console on build. For example on compiling test1.c test2.c test3.c using make
should print like
cc -g -O1 -Wall test1.c
cc -g -O1 -Wall test2.c
cc -g -O1 -Wall test3.c
        © Stack Overflow or respective owner