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


  1. cflags {
  2. '-std=c99', '-Wpedantic', '-Wall', '-Wextra',
  3. '-D _DEFAULT_SOURCE',
  4. '-D _XOPEN_SOURCE=700',
  5. '-D _BSD_SOURCE',
  6. '-D VERSION=0',
  7. '-I $dir',
  8. }
  9. exe('quark', {
  10. 'main.c',
  11. 'connection.c',
  12. 'data.c',
  13. 'http.c',
  14. 'queue.c',
  15. 'server.c',
  16. 'sock.c',
  17. 'util.c',
  18. })
  19. file('bin/quark', '755', '$outdir/quark')
  20. man{'quark.1'}
  21. fetch 'git'