mirror of
https://github.com/Noratrieb/portability.git
synced 2026-01-14 15:55:04 +01:00
STUFF
This commit is contained in:
parent
cec97ff44d
commit
64c30e201d
11 changed files with 4426 additions and 213 deletions
|
|
@ -1,7 +1,7 @@
|
|||
SHELL = bash
|
||||
RUSTC = rustc --target x86_64-pc-windows-msvc -Cpanic=abort -Clinker=lld-link -Clink-arg=/NODEFAULTLIB -Clink-arg=/debug:none -Cdebuginfo=0
|
||||
RUSTC = rustc --target x86_64-pc-windows-msvc -Copt-level=3 -Cpanic=abort -Clinker=lld-link -Clink-arg=/NODEFAULTLIB -Clink-arg=/debug:none -Cdebuginfo=0
|
||||
|
||||
build: empty_exe.exe one_dll.exe
|
||||
build: empty_exe.exe one_dll.exe two_dll.exe
|
||||
|
||||
empty_exe.exe: empty_exe.rs
|
||||
$(RUSTC) empty_exe.rs
|
||||
|
|
@ -12,6 +12,12 @@ one_dll.exe: one_dll.rs small_dll.dll
|
|||
small_dll.dll: small_dll.rs
|
||||
$(RUSTC) small_dll.rs
|
||||
|
||||
ordinal_dll.dll: ordinal_dll.rs ordinal_dll.def
|
||||
$(RUSTC) -Clink-arg=/def:ordinal_dll.def ordinal_dll.rs
|
||||
|
||||
two_dll.exe: small_dll.dll ordinal_dll.dll
|
||||
$(RUSTC) two_dll.rs
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
shopt -s nullglob
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue