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 (502B)


  1. cflags{
  2. '-std=c11', '-Wall', '-Wpedantic', '-Wno-switch', '-Wno-parentheses', '-Wno-maybe-uninitialized',
  3. '-I $dir',
  4. }
  5. cc('util.c')
  6. exe('cproc', {'driver.c', 'util.c.o'})
  7. exe('cproc-qbe', {
  8. 'decl.c',
  9. 'eval.c',
  10. 'expr.c',
  11. 'init.c',
  12. 'main.c',
  13. 'map.c',
  14. 'pp.c',
  15. 'qbe.c',
  16. 'scan.c',
  17. 'scope.c',
  18. 'siphash.c',
  19. 'stmt.c',
  20. 'targ.c',
  21. 'token.c',
  22. 'tree.c',
  23. 'type.c',
  24. 'util.c.o',
  25. 'utf.c',
  26. })
  27. file('bin/cproc', '755', '$outdir/cproc')
  28. file('bin/cproc-qbe', '755', '$outdir/cproc-qbe')
  29. fetch 'git'