sus-regex/build

11 lines
320 B
Plaintext
Raw Normal View History

2024-04-03 15:18:26 +03:00
#!/bin/sh
2024-04-04 07:37:18 +03:00
mkdir -p target
gcc -c meow.s -o target/amogus.o || exit
gnu() { shift 1 && gcc "$@"; }
"$(command -v ~/stuff/zig/zig || echo gnu)" \
cc -static -nostdlib -nodefaultlibs target/amogus.o -o target/amogus || exit
objdump -d target/amogus
strip --strip-section-headers -K entry target/amogus
du -b target/amogus