[Top][All Lists]

[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 05:44:45 -0800

Yes, the same thing here, no matter .\foobar, ./foobar, or .foobar, I always 
see the warnings.  Now I guess technically, the manual is right in the sense 
that  these are "warnings" not errors that are printed.  But nevertheless, this 
is the same printout, error or warning, that happens with or without the 
leading dot, when double rule is used.  It would be nice if this thing worked, 
for then one could always just prepend with ./ 

-----Original Message-----
From: Greg Chicares [mailto:address@hidden 
special case referred to a name like '.foobar'. However, this:
  eraseme.make:5: warning: overriding commands for target `.foobar'
  eraseme.make:2: warning: ignoring old commands for target `.foobar'
is what I see when I run the following makefile, so maybe I guessed wrong.

        echo one

        echo two

.PHONY: all
all: .foobar

reply via email to

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