GNU Make 3.79.1 on AIX & Linux

So, vpath's don't seem to work for locating 'include' makefiles.  For
example, you can't do this:

   vpath %.d directory
   -include src1.d src2.d src3.d

Is this by design?  Otherwise, any hints on how to go about adding this
would be appreciated.  (Or consider this an enhancement request :) )


Also, there seems to be a bug hidden in the include code somewhere.
Consider this makefile:  (m1.d does not exist)

     -include m1.d
     all: m1.d
          @echo "Deps: $^"

   > gmake
   >

running make with the above makefile generates no output.  If you comment
out the include statement, you get:

     #-include m1.d
     all: m1.d
          @echo "DEPS: $^"

   > gmake
   gmake: *** No rule to make target `m1.d', needed by `all'.  Stop.
   >

If a rule is added to build m1.d, then both Makefiles above seem to behave
normally.

Tom.



_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to