Thread: Makefile producing a list of files.

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    5

    Makefile producing a list of files.

    The problem I am attempting to solve is to have a list of files for a project that I can import into SlickEdit.

    I have found myself in an environment that has not only a complicated make (including make files from many other directories) but is heavily project dependent and has many conditionals. It also has many unused files based on the conditionals. They are using clearmake to process the make files.

    I am looking to request that the project leaders implement changes to the makefile so it will produce a list of all the files in the project based on a build. I seem to remember this being performed on previous projects. Is what I am asking for something major or minor?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    If you're using gcc as the compiler, then look at the output of various "-M" options.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help! Placement of nodes in a Linked List
    By lostmyshadow in forum C Programming
    Replies: 6
    Last Post: 12-17-2007, 01:21 PM
  2. urgent please please..
    By peter_hii in forum C++ Programming
    Replies: 4
    Last Post: 10-30-2006, 06:35 AM
  3. How can I traverse a huffman tree
    By carrja99 in forum C++ Programming
    Replies: 3
    Last Post: 04-28-2003, 05:46 PM
  4. Linked List
    By jpipitone in forum C Programming
    Replies: 4
    Last Post: 03-30-2003, 09:27 PM
  5. link list
    By Unregistered in forum C++ Programming
    Replies: 4
    Last Post: 12-13-2001, 05:41 AM