bug-make
[Top][All Lists]
Advanced

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

make does not recognize dependencies of the target .DEFAULT


From: Rex, Sören
Subject: make does not recognize dependencies of the target .DEFAULT
Date: Wed, 25 Apr 2001 19:39:17 +0200

Hi folks,
 
make does not recognize dependencies of the target ".DEFAULT".
Have look a this makefile snippet:
 
# does not make bla when making foo
#
.DEFAULT : bla
        @echo "making .DEFAULT : $@"
 
# makes bla when making foo
#%: bla
#       @echo "making .DEFAULT : $@"
 
bla:
        @echo "making bla"
 
$> make foo
making .DEFAULT : foo
 
Moving the comments from the everything matching rule to .DEFAULT gives:
$> make foo
making bla
making .DEFAULT : makefile
making .DEFAULT : foo
 
Is it a bug or a feature ?
 
Sören
 
  _____  

        


PSI Aktiengesellschaft für

Produkte und Systeme der

Informationstechnologie

                        


Sören Rex

 

Dircksenstraße 42-44

10178 Berlin (Mitte)

Telefon: (030) 28 01 - 1523

Telefax:  (030) 28 01 - 1011

E-mail:  <mailto:address@hidden> address@hidden

 <http://www.psi.de/> http://www.psi.de

  _____  

 

Attachment: PSI_Logo_Klein.gif
Description: GIF image


reply via email to

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