Developer Question

Discussion in 'General Linux' started by Paul Carton, Mar 12, 2014.

  1. Paul Carton

    Paul Carton New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Recently I have begun working on the Linux kernel trying to modify it and mess around with its structure to learn more about it. I was wondering, when I use the "make" command is there anyway I can get it to output the new files in a different directory rather than in the same folder, I just find it a bit confusing the compiled being in the same folder as the un-compiled!

  2. Kryyll

    Kryyll Active Member

    Messages:
    103
    Likes Received:
    34
    Trophy Points:
    28
    If you read the man page about make, it says that if you use
    Code:
    -C foo
    where 'foo' is the directory name. I haven't actually tried this, but give it a try!

Share This Page