[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stop reading Makefile command?
From: |
Paul Smith |
Subject: |
Re: Stop reading Makefile command? |
Date: |
Thu, 17 Dec 2015 12:45:47 -0500 |
On Thu, 2015-12-17 at 12:41 -0500, Paul Smith wrote:
> On Thu, 2015-12-17 at 15:34 +0000, Cristian Morales Vega wrote:
> > There is any way to say: "stop reading here, suppose this Makefile
> > has no more contents, end the read-in phase and start the target
> > -update phase"?
>
> No, that's not possible.
Well, besides the obvious of putting the entire rest of the makefile in
a conditional:
STOP = false
...
STOP = true
# Don't read any of the rest of the makefile if STOP is true
ifeq ($(STOP),true)
...
endif
<EOF>