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:


  Сообщение отправлено по Savannah

Reply via email to