Thanks :)

> -----Original Message-----
> From: John Graham-Cumming [mailto:[EMAIL PROTECTED] On 
> Behalf Of John Graham-Cumming
> Sent: Wednesday, April 19, 2006 8:11 AM
> To: PATTON, BILLY (SBCSI)
> Cc: [email protected]
> Subject: Re: 3 dumb questions
> 
> 
> PATTON, BILLY (SBCSI) wrote:
> > 1.  Must .PHONY begin in column 1 ?
> > 2.  Must a target begin in column 1?
> > 3.  Is leading space ignored ? (on the make side of syntax)
> > 
> > What I would like to do, for readability, I like indention :)
> > 
> > ifeq blabla
> > 
> >   .PHONY : test t_a t_b
> > 
> >   test : t_a t_b
> > 
> >   t_a :
> > 
> >   t_b :
> > 
> > endif
> 
> No, no, yes.
> 
> Try this out:
> 
>   .PHONY : test t_a t_b
> 
>    test : t_a t_b
>        @echo Making $@
> 
>    t_a :
>        @echo Making $@
> 
>    t_b :
>        @echo Making $@
> 
> The only gotcha I can see here is that the lines that start with tab 
> have to start with tab.  i.e. you can't do space tab 
> @command, and vice 
> cersa.  Basically, you need to respect tab's meaning.
> 
> Apart from that you can indent with spaces if you feel like it.
> 
> John.
> 
> 


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to