From: Taylor R Campbell <campbell@mumble.net>
Date: Mon, 7 Oct 2013 17:14:23 +0000 (+0000)
Subject: Use $@ and $< for liarc .c.o rule, not $*.o and $*.c.
X-Git-Tag: release-9.2.0~87
X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5233b78f02378fab06c1ba74e7d84445a5ad6b1a;p=mit-scheme.git

Use $@ and $< for liarc .c.o rule, not $*.o and $*.c.

Otherwise, it won't work in subdirectories.
---

diff --git a/src/etc/utilities.scm b/src/etc/utilities.scm
index 7dcaeeb29..df2c0e74a 100644
--- a/src/etc/utilities.scm
+++ b/src/etc/utilities.scm
@@ -64,8 +64,8 @@ USA.
 		    (write-rule port ".c.o")
 		    (write-command port
 				   (string-append "@" script-dir "/liarc-cc")
-				   "$*.o"
-				   "$*.c"
+				   "$@"
+				   "$<"
 				   (string-append "-I" include-dir))
 		    (newline port)
 		    (let ((init-root (string-append bundle "-init")))