bug-make
[Top][All Lists]
Advanced

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

problem with "silent include" and special target ".DEFAULT"


From: Helmut Dipper
Subject: problem with "silent include" and special target ".DEFAULT"
Date: Mon, 03 Feb 2003 16:24:15 +0100

Hello,

make version 3.78.1 (sparc-sun-solaris2.7)
         and 3.79.1 (mips-sgi-irix6.2)
         and 3.79.1 (i686-pc-cygwin)

Consider the makefile:
#------------------------------------------
-include aaa
sinclude bbb

.DEFAULT:
        @echo "target: $@"

#------------------------------------------
and the results:
target: bbb
target: aaa
gmake: *** No targets.  Stop.

How can it be avoided that the rule with the
special target .DEFAULT is applied when trying
to remade not existent include-files?
Must "empty rules" be specified for each include-
file which may exist or not?

Best regards
Helmut Dipper

***********************************************************
* Helmut Dipper                  | SICAD Utilities GmbH   *
*  phone: +49 89 45026 320       | Postfach 830754        *
*    fax: +49 89 45026 316       | D-81707 Muenchen       *
* e-mail: address@hidden | www.sicad-utilities.de *
***********************************************************




reply via email to

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