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:[EMAIL PROTECTED]> [EMAIL PROTECTED]

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

  _____  

 

PSI_Logo_Klein.gif

Reply via email to