logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (452B)


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