ninja_required_version = 1.1
cflags = -Wall -g -D_POSIX_C_SOURCE=200809L -std=c99
CC = /usr/bin/x86_64-pc-linux-gnu-gcc
rule cc
depfile = $out.d
command = $CC -MD -MF $out.d $cflags -c $in -o $out
description = CC $out
build ani.o: cc ani.c
build init.o: cc init.c
build change.o: cc change.c
build vendor/zstdseek/zstdseek_compress.o: cc vendor/zstdseek/zstdseek_compress.c
build vendor/zstdseek/zstdseek_decompress.o: cc vendor/zstdseek/zstdseek_decompress.c
build vendor/blake3/blake3.o: cc vendor/blake3/blake3.c
build vendor/blake3/blake3_dispatch.o: cc vendor/blake3/blake3_dispatch.c
build vendor/blake3/blake3_portable.o: cc vendor/blake3/blake3_portable.c
rule link
command = $CC $cflags -o $out $ldflags $in $asm $libs
description = LD $out
vendor/zstdseek/zstdseek_compress.o vendor/zstdseek/zstdseek_decompress.o $
vendor/blake3/blake3.o vendor/blake3/blake3_dispatch.o $
vendor/blake3/blake3_portable.o
build ani: link ani.o init.o change.o bincode.o scaffold.o hash.o base32.o hunk.o $
build base32.o: cc base32.c
build bincode.o: cc bincode.c
build scaffold.o: cc scaffold.c
build hash.o: cc hash.c
build hunk.o: cc hunk.c
libs = -lzstd -lxxhash
asm = $
vendor/blake3/blake3_avx2_x86-64_unix.S $
vendor/blake3/blake3_avx512_x86-64_unix.S $
vendor/blake3/blake3_sse2_x86-64_unix.S $
vendor/blake3/blake3_sse41_x86-64_unix.S