LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-05-2005, 09:15 AM   #1
sandy_linux
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
Red face shell scripting and makefile


Hi,
I'm working on a networking project which have many modules like http-proxy smtp-proxy,vpn,etc. I have a top-level makefile which calls other makefiles to compile the modules one-by-one. Here if any file of a module has an error the compilation will stop.
My requirement is that if any file of a given module is giving error , then the compilation should not stop and instead should continue with the compilation for the next module.
Can u tell me what are ways to do that? I was thinking of writing shell scripting and calling the top level makefile from that but that doesn't work.
Please do help..
 
Old 09-05-2005, 12:33 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
RTM, section 5.4 ``Errors in Commands''. Basically, it tells you to prefix the commands with a dash.

hth --Jonas
 
  


Reply



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
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
makefile, shell commands error sateeshgalla Programming 4 11-14-2005 10:57 PM
shell interface vs shell scripting? I'm confused jcchenz Linux - Software 1 10-26-2005 03:32 PM
shell scripts in Makefile? SheldonPlankton Linux - General 4 08-16-2004 04:40 AM
Shell Script and makefile thomasmathew Programming 11 12-23-2003 03:08 PM

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

All times are GMT -5. The time now is 04:04 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