Thread: How to write a makefile

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    26

    Question How to write a makefile

    Hi all:

    Can anyone please give me a hand on how to write my own makefile?

    I have programming under Windows, do not know much about programming under Linux.

    Thank you

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Try to google "makefile tutorial", and you will find at least half a dozen good hits.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Oct 2007
    Posts
    100
    Quote Originally Posted by yuzhangoscar View Post
    Hi all:

    Can anyone please give me a hand on how to write my own makefile?

    I have programming under Windows, do not know much about programming under Linux.

    Thank you
    I am looking for the same stuff: I found this which looks nice! http://www.eng.hawaii.edu/Tutor/Make
    bye

  4. #4
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    I know laserlight uses SCons for makefiles. It looks pretty solid.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reroute where programs write to
    By willc0de4food in forum C Programming
    Replies: 7
    Last Post: 09-21-2005, 04:48 PM
  2. makefile
    By twans in forum C++ Programming
    Replies: 3
    Last Post: 04-08-2005, 12:16 AM
  3. Need help with Makefile
    By xshapirox in forum C++ Programming
    Replies: 14
    Last Post: 09-28-2004, 03:32 PM
  4. about Makefile and Macro
    By tom_mk in forum C++ Programming
    Replies: 1
    Last Post: 09-18-2003, 01:07 PM
  5. makefile woes
    By Grifftt in forum C Programming
    Replies: 2
    Last Post: 12-06-2002, 04:43 PM