Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-04-2009, 10:41 AM   #1
Registered: Oct 2009
Posts: 40

Rep: Reputation: 15
make command in a bash script

Hi all,

would somebody know how I could include a 'make' command in a bash script if I know the directory of the Makefile?

Many thanks!
Old 11-04-2009, 10:43 AM   #2
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Additional Info?

Do you mean invoking a make file, like this?

make -f
Old 11-04-2009, 10:55 AM   #3
Registered: Oct 2009
Posts: 40

Original Poster
Rep: Reputation: 15
Yes cmn,

I meant that. I was missing the '-f', now it works perfectly


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
[SOLVED] bash: make: command not found dynamiteboy Arch 2 10-01-2009 03:11 PM
[SOLVED] Using a long Bash command including single quotes and pipes in a Bash script antcore Linux - General 9 07-22-2009 11:10 AM
bash: make: command not found seanh1986 Linux - Newbie 1 07-03-2007 12:58 PM
bash: make: command not found MrPacane Linux - Newbie 2 05-24-2006 11:42 AM
bash: make command not found $%?$ OS X Bazal Other *NIX 8 10-04-2005 09:16 AM > Forums > Linux Forums > Linux - Newbie

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

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