From 289d977ea8aead346675aec02c4d39388d917954 Mon Sep 17 00:00:00 2001 From: sweetbread Date: Sat, 27 Jan 2024 22:44:10 +0300 Subject: [PATCH] build: Fix makefile --- Makefile.toml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index 6be534b..7804c41 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -5,22 +5,17 @@ RELEASE_FLAG = "--release" alias = "all" [tasks.all] -dependencies = ["objcopy"] +dependencies = ["build"] [tasks.clean] command = "cargo" args = ["clean"] -[tasks.build-1] +[tasks.build] command = "cargo" args = ["build", "@@remove-empty(RELEASE_FLAG)"] -[tasks.build] +[tasks.hwa] command = "cargo" -args = ["build"] - -[tasks.objcopy] -command = "cargo" -args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--", "-O binary", "--strip-all"] -dependencies = ["build-1"] -install_crate = { crate_name = "cargo-binutils", binary = "rust-objcopy", test_arg = ["--help"] } +args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--example", "hwa", "--", "-O", "binary", "--strip-all", "rust.kex"] +#install_crate = { crate_name = "cargo-binutils", binary = "rust-objcopy", test_arg = ["--help"] }