Re: superfluous GNUism in the makefile
Taylor R Campbell <[email protected]>
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <[email protected]> |
Date: Wed, 5 Aug 2009 19:31:45 -0400 From: Taylor R Campbell <[email protected]> The rule for the SRFI 27 library in Scheme48's makefile refers to the GNU-specific `$^' variable. Since there is only one source file to which it refers by that variable, you can just substitute `$<', which is in POSIX. Sorry, this is wrong: $< is not defined (except by accident) outside of a prefix rule. But anyway, you can just substitute the name of the source file, c/srfi-27.o, and avoid any of these problems. The same goes for the other rules that use $<, except for the .c.o prefix rule, which can still use it.