Sorry, I forgot to elaborate that I don't want to force the user to add
options to the make command. Is there any simple way to do this or will I
need to add another makefile in between to call something like:
> make -include config.mk -f Makefile.real
?


-----Original Message-----
From: Paul D. Smith [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 15, 2003 6:57 PM
To: Rahul Jain
Cc: '[EMAIL PROTECTED]'
Subject: Re: non-mandatory makefile include


%% Rahul Jain <[EMAIL PROTECTED]> writes:

  rj> I'd like to add an include line to a makefile that doesn't cause the
  rj> process to fail if the file does not exist. I'd like to not create a
  rj> blank file, if possible. Any sugggestions for acheiving this goal are
  rj> appreciated.

Try "-include".

See the GNU make manual.

-- 
----------------------------------------------------------------------------
---
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad
Scientist


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to