help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to reduce load time


From: Paul D. Smith
Subject: Re: How to reduce load time
Date: Tue, 28 Mar 2006 14:44:58 -0500

%% "PATTON, BILLY \(SBCSI\)" <address@hidden> writes:

  pb> Is there a way that I can do an if statement to avoid generating all the
  pb> targets by looking at the command line?

  pb> something on the line of
  pb> ifeq ($(findstring build,$(MAKEFLAGS)) , build)
  pb> -include make.build
  pb> endif

Look up the MAKECMDGOALS variable in the GNU make manual.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]