Create tim_tool project
This commit is contained in:
parent
6fc9b80477
commit
89c81798b4
|
@ -13,6 +13,7 @@
|
|||
"psxcdread all!psxcdread",
|
||||
"psxfileconv all!psxfileconv",
|
||||
"psxreadmap all!psxreadmap",
|
||||
"tim_tool all!tim_tool",
|
||||
"wslpath all!wslpath",
|
||||
]
|
||||
},
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
[package]
|
||||
name = "tim_tool"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
|
||||
[dependencies]
|
|
@ -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)
|
|
@ -0,0 +1,3 @@
|
|||
pub fn hello_world() {
|
||||
println!("Hello Planschi");
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
tim_tool::hello_world();
|
||||
}
|
Loading…
Reference in New Issue