tanya/arch/build.ninja

11 lines
202 B
Plaintext

rule gas
command = gcc -c $in -o $out
rule archive
command = ar rcs $out $in
build abs.o: gas x64/linux/math/abs.S
build syscall.o: gas x64/linux/syscall.S
build tanya.a: archive syscall.o abs.o