Find the answer to your Linux question:
Results 1 to 2 of 2
Iam a newbie...new to Makefiles.... How do I write a Makefile(kernel version 2.6.15) for multiple dependencies across files: I have to create final.ko biinary file. This is to be built ...
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    2

    Question Makefile

    Iam a newbie...new to Makefiles....
    How do I write a Makefile(kernel version 2.6.15) for multiple dependencies across files:
    I have to create final.ko biinary file. This is to be built using three src files A, B and C.
    A in turn is dependent on src files D,E and F.
    B file is inturn dependent on G and E. If any one cud help me out wid dis..Thanks in advance... and yea an example Makefile for the above situation wud be really appreciated

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Well, if you really want to write it manually, you can. Alternatively, you can use automake:

    http://www.developingprogrammers.com...ools-tutorial/
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

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