From 5233b78f02378fab06c1ba74e7d84445a5ad6b1a Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Mon, 7 Oct 2013 17:14:23 +0000 Subject: [PATCH] Use $@ and $< for liarc .c.o rule, not $*.o and $*.c. Otherwise, it won't work in subdirectories. --- src/etc/utilities.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"))) -- 2.25.1