opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

gen.lua (443B)


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