LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2015, 11:35 PM   #1
poplinux
Member
 
Registered: May 2012
Posts: 111

Rep: Reputation: Disabled
Question for advanced Makefile.


Dear Sir.

I'm want to create advanced Makefile.

My project directory see below.

Code:
./project/busybox
./project/if-tools
If i typing "make busybox-clean" is clean-up "./project/busybox".

And If i typing "make busybox-build" is build-up "./project/busybox".

And If i typing "make if-tools-build" is build-up "./project/if-tools".


buildRoot is already support this method.

Please advise to me. or show to me some example.

Thank you.
 
Old 03-11-2015, 01:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,789

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
so the usual question: what have you tried so far? please post your Makefile and explain your problem with more details.
 
Old 03-11-2015, 02:28 AM   #3
poplinux
Member
 
Registered: May 2012
Posts: 111

Original Poster
Rep: Reputation: Disabled
Dear Sir.

Thank's your reply.

My goal is the "Create own build-system" like buildroot.

The BuildRoot is support this method

Code:
$ > make kernel + [tab key]
kernel_menuconfig kernel_nconfig kernel_oldconfig
But i'm can't found the way.

So. question for you.

thank you.
 
Old 03-11-2015, 03:01 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Tab key is used by bash shell for command line completion. It would only complete partial parts of commands and file/dir names.

You should read info pages of make.
Code:
info make
Making a makefile like that of Buildroot is not so simple. You have to learn and practice making makefiles.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Advanced LVM question awball Linux - Server 1 05-09-2009 02:52 PM
Advanced Sed Question vidyashankara Linux - General 30 07-17-2006 05:25 PM
ADVANCED QUESTION !! Try This extremebfn Linux - Networking 1 01-22-2005 06:57 AM
advanced fluxbox question CatBreath Linux - Software 2 09-22-2004 02:03 AM
advanced LILO question ridesideways Linux - General 8 03-26-2004 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration