mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 18:06:04 +00:00
8 lines
417 B
Bash
Executable File
8 lines
417 B
Bash
Executable File
cp ../../clay.h clay.c;
|
|
clang -c -o clay.o -static -target x86_64-apple-darwin clay.c -fPIC && ar r clay-odin/macos/clay.a clay.o;
|
|
clang -c -o clay.o -static clay.c -fPIC && ar r clay-odin/macos-arm64/clay.a clay.o;
|
|
clang -c -o clay-odin/windows/clay.lib -target x86_64-pc-windows-msvc -fuse-ld=llvm-lib -static clay.c;
|
|
clang -c -o clay-odin/wasm/clay.o -target wasm32 -nostdlib -static clay.c;
|
|
rm clay.o;
|
|
rm clay.c;
|