help-make
[Top][All Lists]
Advanced

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

RE: Must be very simple


From: Paul D. Smith
Subject: RE: Must be very simple
Date: Mon, 20 Mar 2006 11:00:25 -0500

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

  pb> Makefile:46: *** commands commence before first target.  Stop.

I said "precede it with a TAB _IN A RULE CONTEXT_".

IOW, this will work:

    foo:
    <T>     $(foreach ...)

This will not work:

    $(foreach ...)

or

    <T>     $(foreach ...)

But, the one that does work will only run when the foo target is
updated.  That doesn't seem to be what you want to do; however you
didn't give any information about what you wanted to do in your original
email.

-- 
-------------------------------------------------------------------------------
 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]