[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 86379] Bad Makefile construct for lexer.lut.h
From:       Michael Matz <matz () kde ! org>
Date:       2004-08-04 9:24:19
Message-ID: 20040804092419.12865.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=86379      




------- Additional Comments From matz kde org  2004-08-04 11:24 -------
Only $< is not reliable when used in explicit target rules.  $@ is fine.
Next time please do as I asked, and provide the output of the actual error
and not just "this doesn't work".  I had to find a Solaris machine to see
what your Makefile actually does.  (There is a typo in the dependencies in
the explicit target rule for dst.yyy, there is no src.zzz).

Anyway, the use of $< in explicit rules should indeed be changed, either by
making them implicit suffix rules, or by spelling out the explicit dependency
name.  The use of $@ is portable (although the rules have to be looked at
to see if they are not confused by VPATH).  For consistence one could also
change the $@ to explicitely name the target.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic