help-make
[Top][All Lists]
Advanced

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

RE: how to allow multiple empty commands?


From: Mark Galeck (CW)
Subject: RE: how to allow multiple empty commands?
Date: Thu, 4 Feb 2010 17:53:10 -0800

Oh, interesting, I will just do

ifndef foobar.h
foobar.h:;
foobar.h=1
endif

easiest to "emit".  This is obvious in C, but somehow did not internalize in my 
head for make syntax yet, to be obvious here.  
>Rather than emitting simply:

        foobar.h:;

Why not emit something like this:

        ifndef _foobar_rule
        foobar.h:;
        _foobar_rule=1
        endif





reply via email to

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