Results 1 to 1 of 1

Thread: make option ?

Threaded View

  1. #1
    Join Date
    Aug 2012

    make option ?

    I have an application with lots of (make)files.
    But to enable say ,gprof on it, I'll have to manually go and add a -pg to each of the makefiles.
    My question is, Is there a way I can add the -pg at a central place, and ask all the makefiles to use this. Maybe as a makefile option from the shell ?

    Another reason is, I'm not sure how many makefiles I need to edit(add -pg) for the part of the code I'm interested in. So, for the moment, I would like to go by the brute force method of adding the -pg everywhere.

    Please advise.
    Last edited by IAMTubby; October 31st, 2012 at 10:46 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts