sus-regex/build
2024-04-04 09:37:18 +05:00

11 lines
320 B
Bash
Executable file

#!/bin/sh
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