summaryrefslogtreecommitdiff
path: root/rules.ninja
diff options
context:
space:
mode:
Diffstat (limited to 'rules.ninja')
-rw-r--r--rules.ninja9
1 files changed, 9 insertions, 0 deletions
diff --git a/rules.ninja b/rules.ninja
index 2627c0c1..389ad9ac 100644
--- a/rules.ninja
+++ b/rules.ninja
@@ -17,6 +17,9 @@ rule link
rule ar
command = rm -f $out && $ar crs $out $in
+rule ld
+ command = $ld -o $out $in
+
rule objcopy
command = $objcopy $objcopyflags $in $out
@@ -30,6 +33,12 @@ rule nasm
depfile = $out.d
deps = gcc
+rule mc
+ command = cd $mcdir && $mc $mcflags -o "$$OLDPWD"/$out "$$OLDPWD"/$in
+
+rule muse
+ command = muse $museflags -o $out $in
+
# misc tools
rule touch
command = touch $out