Follow-up Comment #1, bug #60811 (project make):

$<, $@, etc are the portable automatic variables. These are standardized by
posix and supported by other unix makes, e.g. sun and ibm makes.
On the other hand, .IMPSRC, etc are not portable.
Introduction of .IMPSRC to gmake cannot improve portability, it can only
hinder it.
Have you considered adding $<, etc to bsd make to improve portability?

In regards to readability, i like this

%.o: %.c
    cc -o $@ -c $<

much better than this

%.o: %.c
    cc -o $(.TARGET) -c $(.IMPSRC)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60811>

_______________________________________________
  Сообщение отправлено по Savannah
  https://savannah.gnu.org/


Reply via email to