summaryrefslogtreecommitdiff
path: root/pkg/fspec-sync/gen.lua
blob: 6c77199d433220acfa801addcf420d25cb340392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
cflags{
	'-std=c99', '-Wall', '-Wpedantic', '-Wno-maybe-uninitialized',
	'-isystem $builddir/pkg/b3sum/include',
}

lib('libcommon.a', {'fatal.c', 'parse.c', 'reallocarray.c'})

exe('fspec-hash', {'fspec-hash.c', 'libcommon.a', '$builddir/pkg/b3sum/libblake3.a'}, {'pkg/b3sum/headers'})
exe('fspec-sort', {'fspec-sort.c', 'libcommon.a'})
exe('fspec-tar', {'fspec-tar.c', 'libcommon.a'})

fetch 'git'