diff --git a/src/Tools/Tools.code-workspace b/src/Tools/Tools.code-workspace index 825be1e4..a9265339 100644 --- a/src/Tools/Tools.code-workspace +++ b/src/Tools/Tools.code-workspace @@ -13,6 +13,7 @@ "psxcdread all!psxcdread", "psxfileconv all!psxfileconv", "psxreadmap all!psxreadmap", + "tim_tool all!tim_tool", "wslpath all!wslpath", ] }, diff --git a/src/Tools/tim_tool/Cargo.toml b/src/Tools/tim_tool/Cargo.toml new file mode 100644 index 00000000..4db563ea --- /dev/null +++ b/src/Tools/tim_tool/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "tim_tool" +version = "0.1.0" +edition = "2021" + +[profile.release] +panic = "abort" + +[dependencies] diff --git a/src/Tools/tim_tool/Makefile b/src/Tools/tim_tool/Makefile new file mode 100644 index 00000000..f1694818 --- /dev/null +++ b/src/Tools/tim_tool/Makefile @@ -0,0 +1,13 @@ +include ../Common.mk + +ARTIFACT = tim_tool + +.PHONY: $(WINDOWS_ARTIFACT) $(UNIX_ARTIFACT) +$(WINDOWS_ARTIFACT): + $(call cargo_windows_default) + +$(UNIX_ARTIFACT): + $(call cargo_unix_default) + +all-windows: $(WINDOWS_ARTIFACT) +all: $(UNIX_ARTIFACT) \ No newline at end of file diff --git a/src/Tools/tim_tool/src/lib.rs b/src/Tools/tim_tool/src/lib.rs new file mode 100644 index 00000000..c1febacb --- /dev/null +++ b/src/Tools/tim_tool/src/lib.rs @@ -0,0 +1,3 @@ +pub fn hello_world() { + println!("Hello Planschi"); +} \ No newline at end of file diff --git a/src/Tools/tim_tool/src/main.rs b/src/Tools/tim_tool/src/main.rs new file mode 100644 index 00000000..41bf1c4d --- /dev/null +++ b/src/Tools/tim_tool/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + tim_tool::hello_world(); +} \ No newline at end of file