Create tim_tool project

This commit is contained in:
jaby 2025-01-21 18:17:11 +00:00
parent 6fc9b80477
commit 89c81798b4
5 changed files with 29 additions and 0 deletions

View File

@ -13,6 +13,7 @@
"psxcdread all!psxcdread",
"psxfileconv all!psxfileconv",
"psxreadmap all!psxreadmap",
"tim_tool all!tim_tool",
"wslpath all!wslpath",
]
},

View File

@ -0,0 +1,9 @@
[package]
name = "tim_tool"
version = "0.1.0"
edition = "2021"
[profile.release]
panic = "abort"
[dependencies]

View File

@ -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)

View File

@ -0,0 +1,3 @@
pub fn hello_world() {
println!("Hello Planschi");
}

View File

@ -0,0 +1,3 @@
fn main() {
tim_tool::hello_world();
}