I am trying to port a set of clearmake/SUN make makefiles for use with
GNU make. In these makefiles I have rules like this:

  .%XB.h : %XB.itm

For some reason it does not match a path/file like this:

  .dir/fileXB.h

If I change the target to either one of these then it will match:

  %XB.h       : %XB.itm
  .%/fileXB.h : %XB.itm

It looks like the wildcard can only have a partial match on one path
component or the rule will not match. Is that a bug or is it supposed
to work like this?

Regards,
Maurice.


P.S.: Obviously the prerequisite will be different with the two
alternatives. I tried using $(patsubst .%,%,%XB.itm) with the first
alternative to compensate, but the rule would not match anymore.

-- 
Maurice van der Pot

Gnome Planner Developer  [email protected]  http://live.gnome.org/Planner

Attachment: pgpqTPDG9eT32.pgp
Description: PGP signature

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to