blob: 12e2dacd3fd84c2545db5b5b48eaf4bf8102981e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
cflags{
'-std=c99', '-Wall', '-Wextra', '-Wpedantic',
'-Wno-format-overflow', '-Wno-format-truncation', '-Wno-maybe-uninitialized',
'-I $dir',
}
exe('qbe', [[
main.c util.c parse.c abi.c cfg.c mem.c ssa.c alias.c load.c
copy.c fold.c gvn.c gcm.c simpl.c live.c spill.c rega.c emit.c
amd64/(targ.c sysv.c isel.c emit.c)
arm64/(targ.c abi.c isel.c emit.c)
rv64/(targ.c abi.c isel.c emit.c)
]])
file('bin/qbe', '755', '$outdir/qbe')
fetch 'git'
|