Use $@ and $< for liarc .c.o rule, not $*.o and $*.c.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 7 Oct 2013 17:14:23 +0000 (17:14 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Mon, 7 Oct 2013 17:14:25 +0000 (17:14 +0000)
Otherwise, it won't work in subdirectories.

src/etc/utilities.scm

index 7dcaeeb297e0aebe64d2ab8264c671399c349003..df2c0e74aaa218cc0624d6fce78dda02cc60e57a 100644 (file)
@@ -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")))