bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #57751] Improve POSIX support for SCCS


From: Jörg Schilling
Subject: [bug #57751] Improve POSIX support for SCCS
Date: Sat, 7 Nov 2020 16:39:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0

Follow-up Comment #12, bug #57751 (project make):

Re: comment #8: you are mistaken.

gmake has some deviations from POSIX and a classical UNIX make but these
deviations are *much* less important than the deviations found in bmake.

The BSD make program is not related to any UNIX make program, it was derived
from a program called pmake.

$ cat Makefile
foobar : $@.blurfl
$ make 
make: Fatal error: Don't know how to make target `.blurfl'
$ dmake
dmake: defaulting to parallel mode.
make: Fatal error: Don't know how to make target `.blurfl'
$ smake
smake: Can't find any source for '.blurfl'.
smake: Couldn't make 'foobar'.
$ gmake
gmake: *** No rule to make target `.blurfl', needed by `foobar'.  Stop.
$ bmake
bmake: don't know how to make foobar.blurfl. Stop

BTW: Make macros to the right of a colon are expanded by the parser already
and at that time, $@ is undefined.

I hope this explains the correct behavior of various make implementations.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]